1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Manager

Открытые члены

 __construct (array $params)
 loadFromAttachId ($id)
 loadFromVoteId ($id)
 loadEmptyObject ()
 loadFromEntity ()
 belongsToEntity (Attach $attachedObject, $entityType, $entityId)
 getConnectorDataByEntityType ($entityType)
 getConnectors ()
 showEdit (&$params, &$result, $component=null)
 showView (&$params, &$result, $component=null)
 getErrors ()

Открытые статические члены

static getInstance (array $params)

Защищенные данные

 $errorCollection
 $params
 $additionalConnectorList = null
 $loadedAttachedObjects = array()

Статические защищенные данные

static $instance = array()

Подробное описание

См. определение в файле manager.php строка 16

Конструктор(ы)

◆ __construct()

__construct ( array $params)

Constructor of UserFieldManager.

Аргументы
array$params

См. определение в файле manager.php строка 35

Методы

◆ belongsToEntity()

belongsToEntity ( Attach $attachedObject,
$entityType,
$entityId )

Checks attitude attached object to entity.

Аргументы
Attach$attachedObjectAttached object.
string$entityTypeEntity type (ex. blog_post).
int$entityIdId of entity.
Возвращает
bool

См. определение в файле manager.php строка 165

◆ getConnectorDataByEntityType()

getConnectorDataByEntityType ( $entityType)

Gets data which describes specific connector by entity type.

Аргументы
string$entityTypeEntity type (ex. sonet_comment).
Возвращает
array|null Array with two elements: connector class and module.

См. определение в файле manager.php строка 179

◆ getConnectors()

getConnectors ( )

Returns full list of available connectors for attached objects.

Возвращает
array

См. определение в файле manager.php строка 196

◆ getErrors()

getErrors ( )

Getting array of errors.

Возвращает
array

См. определение в файле manager.php строка 329

◆ getInstance()

getInstance ( array $params)
static

Returns instance of Manager.

Аргументы
array$paramsArray ( [ID] => 29 [ENTITY_ID] => BLOG_POST [FIELD_NAME] => UF_BLOG_POST_VOTE [USER_TYPE_ID] => vote [XML_ID] => UF_BLOG_POST_VOTE [SORT] => 100 [MULTIPLE] => N [MANDATORY] => N [SHOW_FILTER] => N [SHOW_IN_LIST] => Y [EDIT_IN_LIST] => Y [IS_SEARCHABLE] => N [SETTINGS] => Array ( [CHANNEL_ID] => 1 [UNIQUE] => 8 [UNIQUE_IP_DELAY] => Array ( [DELAY] => [DELAY_TYPE] => S )

[NOTIFY] => I )

[EDIT_FORM_LABEL] => UF_BLOG_POST_VOTE [LIST_COLUMN_LABEL] => [LIST_FILTER_LABEL] => [ERROR_MESSAGE] => [HELP_MESSAGE] => [USER_TYPE] => Array ( [USER_TYPE_ID] => vote [CLASS_NAME] => Bitrix\Vote\Uf\VoteUserType [DESCRIPTION] => "Vote" [BASE_TYPE] => int )

[VALUE] => 27 [ENTITY_VALUE_ID] => 247)).

Возвращает
Manager

См. определение в файле manager.php строка 88

◆ loadEmptyObject()

loadEmptyObject ( )
Возвращает
\Bitrix\Vote\Attach

См. определение в файле manager.php строка 135

◆ loadFromAttachId()

loadFromAttachId ( $id)

Returns attached object by id.

Аргументы
int$idId of attached object.
Возвращает
Attach

См. определение в файле manager.php строка 103

◆ loadFromEntity()

loadFromEntity ( )
Возвращает
Attach[]

См. определение в файле manager.php строка 149

◆ loadFromVoteId()

loadFromVoteId ( $id)

Returns vote object by id.

Аргументы
int$idId of vote.
Возвращает
Attach

См. определение в файле manager.php строка 117

◆ showEdit()

showEdit ( & $params,
& $result,
$component = null )

Shows component to edit vote.

Аргументы
array&$paramsComponent parameters.
array&$resultComponent results.
null$componentComponent.
Возвращает
void

См. определение в файле manager.php строка 287

◆ showView()

showView ( & $params,
& $result,
$component = null )

Shows component to participate in vote

Аргументы
array&$paramsComponent parameters.
array&$resultComponent results.
null$componentComponent.
Возвращает
void

См. определение в файле manager.php строка 310

Поля

◆ $additionalConnectorList

$additionalConnectorList = null
protected

См. определение в файле manager.php строка 23

◆ $errorCollection

$errorCollection
protected

См. определение в файле manager.php строка 19

◆ $instance

$instance = array()
staticprotected

См. определение в файле manager.php строка 27

◆ $loadedAttachedObjects

$loadedAttachedObjects = array()
protected

См. определение в файле manager.php строка 25

◆ $params

$params
protected

См. определение в файле manager.php строка 21


Объявления и описания членов класса находятся в файле: