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

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

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

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

 getDefaultElementSelect ()
 
 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 строка 38

Методы

◆ addInternal()

addInternal ( array $fields)
protected

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

◆ checkAutoloadDetailUrl()

checkAutoloadDetailUrl ( )

Замещает IblockElementRepositoryContract.

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

◆ createEntity()

createEntity ( array $fields = [])
protected

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

◆ delete()

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

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

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

Замещает RepositoryContract.

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

◆ deleteInternal()

deleteInternal ( int $id)
protected

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

◆ getAdditionalFilter()

getAdditionalFilter ( )
protected

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

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

◆ getAdditionalProductFilter()

getAdditionalProductFilter ( )
protected

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

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

◆ getDefaultElementSelect()

getDefaultElementSelect ( )
protected

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

◆ getDetailUrlTemplate()

getDetailUrlTemplate ( )

Замещает IblockElementRepositoryContract.

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

◆ getEntitiesBy()

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

Замещает RepositoryContract.

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

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

◆ getEntityById()

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

Замещает RepositoryContract.

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

◆ getList()

getList ( array $params)
protected

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

◆ makeEntity()

makeEntity ( array $fields = [])
abstractprotected

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

◆ prepareElementFields()

prepareElementFields ( array $fields)
protected

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

◆ prepareProductFields()

prepareProductFields ( array $fields)
protected

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

◆ save()

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

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

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

Замещает RepositoryContract.

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

◆ setAutoloadDetailUrl()

setAutoloadDetailUrl ( bool $state)

Замещает IblockElementRepositoryContract.

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

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

◆ setDetailUrlTemplate()

setDetailUrlTemplate ( ?string $template)

Замещает IblockElementRepositoryContract.

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

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

◆ updateInternal()

updateInternal ( int $id,
array $fields )
protected

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

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

◆ $factory

$factory
protected

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

◆ $iblockInfo

$iblockInfo
protected

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