1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Group
Граф наследования:Group:
CopyImplementer

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

 __construct ($executiveUserId)
 setFeature (Feature $feature)
 setProjectTerm (array $projectTerm)
 setChangedFields ($changedFields)
 setUserGroupHelper (UserGroupHelper $userGroupHelper)
 add (Container $container, array $fields)
 getFields (Container $container, $entityId)
 prepareFieldsToCopy (Container $container, array $fields)
 copyChildren (Container $container, $groupId, $copiedGroupId)
Открытые члены унаследованные от CopyImplementer
 __construct ()
 getErrors ()
 setUserFieldManager (\CUserTypeManager $userTypeManager)
 setUfIgnoreList (array $ufIgnoreList)
 setExecutiveUserId (int $executiveUserId)

Поля данных

const GROUP_COPY_ERROR = "GROUP_COPY_ERROR"

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

 $executiveUserId
Защищенные данные унаследованные от CopyImplementer
 $result
 $userTypeManager
 $ufIgnoreList = []
 $executiveUserId

Дополнительные унаследованные члены

Защищенные члены унаследованные от CopyImplementer
 copyUfFields (int $entityId, int $copiedEntityId, string $ufObject)
 getResult (array $results=[])

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

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

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

◆ __construct()

__construct ( $executiveUserId)

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

Методы

◆ add()

add ( Container $container,
array $fields )

Adds entity.

Аргументы
Container$container
array$fields
Возвращает
int|bool return entity id or false.

Переопределяет метод предка CopyImplementer.

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

◆ copyChildren()

copyChildren ( Container $container,
$groupId,
$copiedGroupId )

Starts copying children entities.

Аргументы
Container$container
int$groupIdGroup id.
int$copiedGroupIdCopied group id.
Возвращает
Result

Переопределяет метод предка CopyImplementer.

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

◆ getFields()

getFields ( Container $container,
$entityId )

Returns entity fields.

Аргументы
Container$container
int$entityId
Возвращает
array $fields

Переопределяет метод предка CopyImplementer.

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

◆ prepareFieldsToCopy()

prepareFieldsToCopy ( Container $container,
array $fields )

Preparing data before creating a new entity.

Аргументы
Container$container
array$fieldsList entity fields.
Возвращает
array $fields

Переопределяет метод предка CopyImplementer.

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

◆ setChangedFields()

setChangedFields ( $changedFields)

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

◆ setFeature()

setFeature ( Feature $feature)

Writes feature implementer to the copy queue.

Аргументы
Feature$featureFeature implementer.

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

◆ setProjectTerm()

setProjectTerm ( array $projectTerm)

Setting the start date of a project to update dates in entities.

Аргументы
array$projectTerm["start_point" => "", "end_point" => ""].

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

◆ setUserGroupHelper()

setUserGroupHelper ( UserGroupHelper $userGroupHelper)

Record helper object to update the list of moderators when copying.

Аргументы
UserGroupHelper$userGroupHelperHelper object.

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

Поля

◆ $executiveUserId

$executiveUserId
protected

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

◆ GROUP_COPY_ERROR

const GROUP_COPY_ERROR = "GROUP_COPY_ERROR"

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/socialnetwork/lib/copy/implement/group.php