Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс BaseIblockElementRepository
+ Граф наследования:BaseIblockElementRepository:

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

 __construct (BaseIblockElementFactory $factory, IblockInfo $iblockInfo)
 
 getEntityById (int $id)
 
 getEntitiesBy ($params)
 
 save (BaseEntity ... $entities)
 
 delete (BaseEntity ... $entities)
 
 setDetailUrlTemplate (?string $template)
 
 getDetailUrlTemplate ()
 
 setDetailUrlTemplate (?string $template)
 
 getDetailUrlTemplate ()
 
 getEntityById (int $id)
 
 getEntitiesBy ($params)
 
 save (BaseEntity ... $entities)
 
 delete (BaseEntity ... $entities)
 

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

 getList (array $params)
 
 getAdditionalFilter ()
 
 getAdditionalProductFilter ()
 
 createEntity (array $fields=[])
 
 makeEntity (array $fields=[])
 
 addInternal (array $fields)
 
 updateInternal (int $id, array $fields)
 
 deleteInternal (int $id)
 
 prepareElementFields (array $fields)
 
 prepareProductFields (array $fields)
 

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

 $factory
 
 $iblockInfo
 

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

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

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

◆ __construct()

__construct ( BaseIblockElementFactory  $factory,
IblockInfo  $iblockInfo 
)

BaseIblockElementRepository constructor.

Аргументы
\Bitrix\Catalog\v2\BaseIblockElementFactory$factory
\Bitrix\Catalog\v2\Iblock\IblockInfo$iblockInfo

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

Методы

◆ addInternal()

addInternal ( array  $fields)
protected

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

◆ createEntity()

createEntity ( array  $fields = [])
protected

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

◆ delete()

delete ( BaseEntity ...  $entities)
Аргументы

Bitrix\Catalog\v2\BaseEntity ...$entities

Возвращает
\Bitrix\Main\Result

Замещает RepositoryContract.

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

◆ deleteInternal()

deleteInternal ( int  $id)
protected

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

◆ getAdditionalFilter()

getAdditionalFilter ( )
protected

Переопределяется в ProductRepository и SkuRepository.

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

◆ getAdditionalProductFilter()

getAdditionalProductFilter ( )
protected

Переопределяется в ProductRepository и SkuRepository.

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

◆ getDetailUrlTemplate()

getDetailUrlTemplate ( )

Замещает IblockElementRepositoryContract.

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

◆ getEntitiesBy()

getEntitiesBy (   $params)
Аргументы
$paramsarray|\ArrayAccess
Возвращает
mixed

Замещает RepositoryContract.

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

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

◆ getEntityById()

getEntityById ( int  $id)
Аргументы
int$id
Возвращает
mixed

Замещает RepositoryContract.

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

◆ getList()

getList ( array  $params)
protected

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

◆ makeEntity()

makeEntity ( array  $fields = [])
abstractprotected

Переопределяется в ProductRepository и SkuRepository.

◆ prepareElementFields()

prepareElementFields ( array  $fields)
protected

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

◆ prepareProductFields()

prepareProductFields ( array  $fields)
protected

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

◆ save()

save ( BaseEntity ...  $entities)
Аргументы

Bitrix\Catalog\v2\BaseEntity ...$entities

Возвращает
\Bitrix\Main\Result

Замещает RepositoryContract.

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

◆ setDetailUrlTemplate()

setDetailUrlTemplate ( ?string  $template)

Замещает IblockElementRepositoryContract.

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

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

◆ updateInternal()

updateInternal ( int  $id,
array  $fields 
)
protected

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

Данные класса

◆ $factory

$factory
protected

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

◆ $iblockInfo

$iblockInfo
protected

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