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

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

 __construct (SectionFactory $factory)
 
 getEntityById (int $id)
 
 getEntitiesBy ($params)
 
 delete (BaseEntity ... $entities)
 
 getCollectionByProduct (BaseProduct $product)
 
- Открытые члены унаследованные от RepositoryContract
 save (BaseEntity ... $entities)
 

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

 getListByProductId (int $productId)
 
 getList (array $params)
 
 createEntity (array $fields)
 
 createCollection (array $entityFields=[])
 

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

 $factory
 

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

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

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

◆ __construct()

__construct ( SectionFactory $factory)

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

Методы

◆ createCollection()

createCollection ( array $entityFields = [])
protected

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

◆ createEntity()

createEntity ( array $fields)
protected

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

◆ delete()

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

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

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

Замещает RepositoryContract.

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

◆ getCollectionByProduct()

getCollectionByProduct ( BaseProduct $product)

Замещает SectionRepositoryContract.

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

◆ getEntitiesBy()

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

Замещает RepositoryContract.

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

◆ getEntityById()

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

Замещает RepositoryContract.

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

◆ getList()

getList ( array $params)
protected

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

◆ getListByProductId()

getListByProductId ( int $productId)
protected

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

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

◆ $factory

$factory
protected

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