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

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

 __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)

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

 $factory
 $iblockInfo

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

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

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

◆ __construct()

__construct ( BaseIblockElementFactory $factory,
IblockInfo $iblockInfo )

BaseIblockElementRepository constructor.

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

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

Методы

◆ addInternal()

addInternal ( array $fields)
protected

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

◆ checkAutoloadDetailUrl()

checkAutoloadDetailUrl ( )

Замещает IblockElementRepositoryContract.

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

◆ createEntity()

createEntity ( array $fields = [])
protected

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

◆ delete()

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

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

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

Замещает RepositoryContract.

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

◆ deleteInternal()

deleteInternal ( int $id)
protected

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

◆ getAdditionalFilter()

getAdditionalFilter ( )
protected

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

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

◆ getAdditionalProductFilter()

getAdditionalProductFilter ( )
protected

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

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

◆ getDefaultElementSelect()

getDefaultElementSelect ( )
protected

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

◆ getDetailUrlTemplate()

getDetailUrlTemplate ( )

Замещает IblockElementRepositoryContract.

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

◆ getEntitiesBy()

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

Замещает RepositoryContract.

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

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

◆ getEntityById()

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

Замещает RepositoryContract.

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

◆ getList()

getList ( array $params)
protected

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

◆ makeEntity()

makeEntity ( array $fields = [])
abstractprotected

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

◆ save()

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

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

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

Замещает RepositoryContract.

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

◆ setAutoloadDetailUrl()

setAutoloadDetailUrl ( bool $state)

Замещает IblockElementRepositoryContract.

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

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

◆ setDetailUrlTemplate()

setDetailUrlTemplate ( ?string $template)

Замещает IblockElementRepositoryContract.

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

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

◆ updateInternal()

updateInternal ( int $id,
array $fields )
protected

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

Поля

◆ $factory

$factory
protected

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

◆ $iblockInfo

$iblockInfo
protected

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


Объявления и описания членов класса находятся в файле: