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

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

 __construct (StoreProductFactory $factory)
 getEntityById (int $id)
 getEntitiesBy ($params)
 getProductId (BaseEntity $entity)
 save (BaseEntity ... $entities)
 delete (BaseEntity ... $entities)
 getCollectionByParent (BaseSku $sku)

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

 getByProductId (int $skuId)
 getList (array $params)
 createEntity (array $fields=[])
 createCollection (array $entityFields=[])
 addInternal (array $fields)
 updateInternal (int $id, array $fields)
 deleteInternal (int $id)

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

 $factory

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

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

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

◆ __construct()

__construct ( StoreProductFactory $factory)

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

Методы

◆ addInternal()

addInternal ( array $fields)
protected

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

◆ createCollection()

createCollection ( array $entityFields = [])
protected

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

◆ createEntity()

createEntity ( array $fields = [])
protected

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

◆ delete()

delete ( BaseEntity ... $entities)

@inheritDoc

Замещает RepositoryContract.

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

◆ deleteInternal()

deleteInternal ( int $id)
protected

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

◆ getByProductId()

getByProductId ( int $skuId)
protected

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

◆ getCollectionByParent()

getCollectionByParent ( BaseSku $sku)

Замещает StoreProductRepositoryContract.

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

◆ getEntitiesBy()

getEntitiesBy ( $params)

@inheritDoc

Замещает RepositoryContract.

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

◆ getEntityById()

getEntityById ( int $id)

@inheritDoc

Замещает RepositoryContract.

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

◆ getList()

getList ( array $params)
protected

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

◆ getProductId()

getProductId ( BaseEntity $entity)

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

◆ save()

save ( BaseEntity ... $entities)

@inheritDoc

Замещает RepositoryContract.

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

◆ updateInternal()

updateInternal ( int $id,
array $fields )
protected

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

Поля

◆ $factory

$factory
protected

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


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