|
| add (Container $container, array $fields) |
|
| update ($commentId, array $fields) |
|
| getFields (Container $container, $entityId) |
|
| prepareFieldsToCopy (Container $container, array $fields) |
|
| copyChildren (Container $container, $entityId, $copiedEntityId) |
|
| updateAttachedIdsInText (int $id, array $attachedIds, callable $auxiliaryCallback) |
|
Открытые члены унаследованные от CopyImplementer |
| __construct () |
|
| getErrors () |
|
| setUserFieldManager (\CUserTypeManager $userTypeManager) |
|
| setUfIgnoreList (array $ufIgnoreList) |
|
| setExecutiveUserId (int $executiveUserId) |
|
| add (Container $container, array $fields) |
|
| getFields (Container $container, $entityId) |
|
| prepareFieldsToCopy (Container $container, array $fields) |
|
| copyChildren (Container $container, $entityId, $copiedEntityId) |
|
См. определение в файле comment.php строка 9
◆ add()
- Аргументы
-
Container | $container | |
array | $fields | |
- Возвращает
- int message id.
Переопределяет метод предка CopyImplementer.
См. определение в файле comment.php строка 21
◆ copyChildren()
copyChildren |
( |
Container |
$container, |
|
|
|
$entityId, |
|
|
|
$copiedEntityId |
|
) |
| |
Starts copying children entities.
- Аргументы
-
Container | $container | |
int | $entityId | Entity id. |
int | $copiedEntityId | Copied entity id. |
- Возвращает
- Result
Переопределяет метод предка CopyImplementer.
См. определение в файле comment.php строка 78
◆ getFields()
getFields |
( |
Container |
$container, |
|
|
|
$entityId |
|
) |
| |
Returns entity fields.
- Аргументы
-
Container | $container | |
int | $entityId | |
- Возвращает
- array $fields
Переопределяет метод предка CopyImplementer.
См. определение в файле comment.php строка 45
◆ getText()
◆ prepareFieldsToCopy()
prepareFieldsToCopy |
( |
Container |
$container, |
|
|
array |
$fields |
|
) |
| |
Preparing data before creating a new entity.
- Аргументы
-
Container | $container | |
array | $fields | List entity fields. |
- Возвращает
- array $fields
Переопределяет метод предка CopyImplementer.
См. определение в файле comment.php строка 58
◆ update()
update |
( |
|
$commentId, |
|
|
array |
$fields |
|
) |
| |
◆ updateAttachedIdsInText()
updateAttachedIdsInText |
( |
int |
$id, |
|
|
array |
$attachedIds, |
|
|
callable |
$auxiliaryCallback |
|
) |
| |
Updates identifiers who's added to text.
- Аргументы
-
int | $id | Id of the entity whose text will be updated. |
array | $attachedIds | |
callable | $auxiliaryCallback | |
См. определение в файле comment.php строка 92
◆ $ufDiskFileField
$ufDiskFileField = "UF_FORUM_MESSAGE_DOC" |
|
protected |
◆ $ufEntityObject
$ufEntityObject = "FORUM_MESSAGE" |
|
protected |
◆ COMMENT_COPY_ERROR
const COMMENT_COPY_ERROR = "COMMENT_COPY_ERROR" |