См. определение в файле blogpost.php строка 13
◆ add()
Adds entity.
- Аргументы
-
Container | $container | |
array | $fields | |
- Возвращает
- int|bool Added entity id or false.
Переопределяет метод предка CopyImplementer.
См. определение в файле blogpost.php строка 65
◆ copyChildren()
copyChildren |
( |
Container | $container, |
|
|
| $entityId, |
|
|
| $copiedEntityId ) |
Starts copying children entities.
- Аргументы
-
Container | $container | |
int | $entityId | BlogPost id. |
int | $copiedEntityId | Copied BlogPost id. |
- Возвращает
- Result
Переопределяет метод предка CopyImplementer.
См. определение в файле blogpost.php строка 127
◆ copyVote()
Copies vote.
- Аргументы
-
- Возвращает
- int copied vote id.
См. определение в файле blogpost.php строка 147
◆ getFields()
getFields |
( |
Container | $container, |
|
|
| $entityId ) |
Returns entity fields.
- Аргументы
-
Container | $container | |
int | $entityId | |
- Возвращает
- array $fields
Переопределяет метод предка CopyImplementer.
См. определение в файле blogpost.php строка 94
◆ getText()
◆ prepareFieldsToCopy()
prepareFieldsToCopy |
( |
Container | $container, |
|
|
array | $fields ) |
Preparing data before creating a new BlogPost.
- Аргументы
-
Container | $container | |
array | $fields | List entity fields. |
- Возвращает
- array $fields
Переопределяет метод предка CopyImplementer.
См. определение в файле blogpost.php строка 108
◆ setBlogCommentCopier()
To copy comments needs comment copier.
- Аргументы
-
EntityCopier | $blogCommentCopier | Comment copier. |
См. определение в файле blogpost.php строка 33
◆ setChangedRights()
setChangedRights |
( |
| $changedRights | ) |
|
To overwrite access rights to a post in a new entity, you need to specify the identifier of the new entity.
- Аргументы
-
array | $changedRights | Ration changed id. |
См. определение в файле blogpost.php строка 53
◆ setFeatures()
setFeatures |
( |
array | $features | ) |
|
Writes features to the copy queue.
- Аргументы
-
array | $features | List features. |
См. определение в файле blogpost.php строка 43
◆ update()
update |
( |
| $id, |
|
|
array | $fields ) |
Updates entity.
- Аргументы
-
int | $entityId | Entity id. |
array | $fields | List entity fields. |
- Возвращает
- bool
- Аргументы
-
- Возвращает
- \Bitrix\Main\ORM\Data\UpdateResult|null
- Исключения
-
NotImplementedException | |
SystemException | |
| |
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
Переопределяет метод предка Base.
См. определение в файле blogpost.php строка 82
◆ $ufDiskFileField
$ufDiskFileField = "UF_BLOG_POST_FILE" |
|
protected |
◆ $ufEntityObject
$ufEntityObject = "BLOG_POST" |
|
protected |
◆ BLOG_POST_COPY_ERROR
const BLOG_POST_COPY_ERROR = "BLOG_POST_COPY_ERROR" |