См. определение в файле manager.php строка 16
◆ __construct()
| __construct |
( |
array | $params | ) |
|
Constructor of UserFieldManager.
- Аргументы
-
См. определение в файле manager.php строка 35
◆ belongsToEntity()
| belongsToEntity |
( |
Attach | $attachedObject, |
|
|
| $entityType, |
|
|
| $entityId ) |
Checks attitude attached object to entity.
- Аргументы
-
| Attach | $attachedObject | Attached object. |
| string | $entityType | Entity type (ex. blog_post). |
| int | $entityId | Id of entity. |
- Возвращает
- bool
См. определение в файле manager.php строка 165
◆ getConnectorDataByEntityType()
| getConnectorDataByEntityType |
( |
| $entityType | ) |
|
Gets data which describes specific connector by entity type.
- Аргументы
-
| string | $entityType | Entity type (ex. sonet_comment). |
- Возвращает
- array|null Array with two elements: connector class and module.
См. определение в файле manager.php строка 179
◆ getConnectors()
Returns full list of available connectors for attached objects.
- Возвращает
- array
См. определение в файле manager.php строка 196
◆ getErrors()
Getting array of errors.
- Возвращает
- array
См. определение в файле manager.php строка 329
◆ getInstance()
| getInstance |
( |
array | $params | ) |
|
|
static |
Returns instance of Manager.
- Аргументы
-
| array | $params | Array ( [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()
- Возвращает
- \Bitrix\Vote\Attach
См. определение в файле manager.php строка 135
◆ loadFromAttachId()
Returns attached object by id.
- Аргументы
-
| int | $id | Id of attached object. |
- Возвращает
- Attach
См. определение в файле manager.php строка 103
◆ loadFromEntity()
◆ loadFromVoteId()
Returns vote object by id.
- Аргументы
-
- Возвращает
- Attach
См. определение в файле manager.php строка 117
◆ showEdit()
| showEdit |
( |
& | $params, |
|
|
& | $result, |
|
|
| $component = null ) |
Shows component to edit vote.
- Аргументы
-
| array | &$params | Component parameters. |
| array | &$result | Component results. |
| null | $component | Component. |
- Возвращает
- void
См. определение в файле manager.php строка 287
◆ showView()
| showView |
( |
& | $params, |
|
|
& | $result, |
|
|
| $component = null ) |
Shows component to participate in vote
- Аргументы
-
| array | &$params | Component parameters. |
| array | &$result | Component results. |
| null | $component | Component. |
- Возвращает
- void
См. определение в файле manager.php строка 310
◆ $additionalConnectorList
| $additionalConnectorList = null |
|
protected |
◆ $errorCollection
◆ $instance
◆ $loadedAttachedObjects
| $loadedAttachedObjects = array() |
|
protected |
◆ $params
Объявления и описания членов класса находятся в файле: