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

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

 setChild (Child $child)
 setTargetIblockTypeId ($targetIblockTypeId)
 setTargetSocnetGroupId ($targetSocnetGroupId)
 setCacheManager (\CCacheManager $cacheManager)
 add (Container $container, array $fields)
 getFields (Container $container, $entityId)
 prepareFieldsToCopy (Container $container, array $fields)
 copyChildren (Container $container, $entityId, $copiedEntityId)
Открытые члены унаследованные от CopyImplementer
 __construct ()
 getErrors ()
 setUserFieldManager (\CUserTypeManager $userTypeManager)
 setUfIgnoreList (array $ufIgnoreList)
 setExecutiveUserId (int $executiveUserId)

Поля данных

const IBLOCK_COPY_ERROR = "IBLOCK_COPIER_ERROR"

Защищенные члены

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

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

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

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

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

Методы

◆ add()

add ( Container $container,
array $fields )

Adds iblock.

Аргументы
Container$containerStorage.
array$fieldsFields list.
Возвращает
int|bool return iblock id or false.

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

Переопределяется в Iblock.

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

◆ cleanCache()

cleanCache ( int $iblockId)
protected

Переопределяется в Iblock.

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

◆ copyChildren()

copyChildren ( Container $container,
$entityId,
$copiedEntityId )

Starts copying children entities.

Аргументы
Container$containerStorage.
int$entityIdSource iblock id.
int$copiedEntityIdDestination iblock id.
Возвращает
Result

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

Переопределяется в Iblock.

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

◆ getFields()

getFields ( Container $container,
$entityId )

Returns iblock fields.

Аргументы
Container$containerStorage.
int$entityIdIblock id.
Возвращает
array $fields

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

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

◆ getSocnetPermission()

getSocnetPermission ( $iblockId,
$socnetGroupId )
protected

Переопределяется в Iblock.

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

◆ prepareFieldsToCopy()

prepareFieldsToCopy ( Container $container,
array $fields )

Preparing data before creating a new iblock.

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

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

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

◆ setCacheManager()

setCacheManager ( \CCacheManager $cacheManager)

Set cache manager object.

Аргументы
mixed$cacheManagerCache manager object.
Возвращает
void

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

◆ setChild()

setChild ( Child $child)

Writes child implementer to the copy queue.

Аргументы
Child$childChild implementer.

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

◆ setTargetIblockTypeId()

setTargetIblockTypeId ( $targetIblockTypeId)

Set destination iblock type.

Аргументы
string$targetIblockTypeIdIblock type id.
Возвращает
void

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

◆ setTargetSocnetGroupId()

setTargetSocnetGroupId ( $targetSocnetGroupId)

Set destination socialnetwork group, if exists.

Аргументы
int$targetSocnetGroupIdSocialnetwork group id.
Возвращает
void

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

Поля

◆ $cacheManager

$cacheManager
protected

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

◆ IBLOCK_COPY_ERROR

const IBLOCK_COPY_ERROR = "IBLOCK_COPIER_ERROR"

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


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