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

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

 __construct (PriceFactory $factory)
 
 getEntityById (int $id)
 
 getEntitiesBy ($params)
 
 getProductId (BaseEntity $entity)
 
 getCollectionByParent (BaseSku $sku)
 
- Открытые члены унаследованные от RepositoryContract
 save (BaseEntity ... $entities)
 
 delete (BaseEntity ... $entities)
 

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

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

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

 $factory
 

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

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

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

◆ __construct()

__construct ( PriceFactory $factory)

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

Методы

◆ addInternal()

addInternal ( array $fields)
protected

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

◆ createCollection()

createCollection ( array $entityFields = [])
protected

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

◆ createEntity()

createEntity ( array $fields = [])
protected

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

◆ deleteInternal()

deleteInternal ( int $id)
protected

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

◆ getByProductId()

getByProductId ( int $skuId)
protected

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

◆ getCollectionByParent()

getCollectionByParent ( BaseSku $sku)

Замещает PriceRepositoryContract.

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

◆ getEntitiesBy()

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

Замещает RepositoryContract.

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

◆ getEntityById()

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

Замещает RepositoryContract.

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

◆ getList()

getList ( array $params)
protected

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

◆ getProductId()

getProductId ( BaseEntity $entity)

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

◆ updateInternal()

updateInternal ( int $id,
array $fields )
protected

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

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

◆ $factory

$factory
protected

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