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

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

 __construct (PropertyFactory $factory, PropertyValueFactory $propertyValueFactory)
 
 getEntityById (int $id)
 
 getEntitiesBy ($params, array $propertySettings=[])
 
 delete (BaseEntity ... $entities)
 
 getCollectionByParent (BaseIblockElementEntity $entity)
 
 createCollection ()
 
 getPropertiesSettingsByFilter (array $filter)
 
 createEntity (array $fields=[], array $settings=[])
 
 getCollectionByParent (BaseIblockElementEntity $entity)
 
- Открытые члены унаследованные от RepositoryContract
 getEntityById (int $id)
 
 getEntitiesBy ($params)
 
 save (BaseEntity ... $entities)
 
 delete (BaseEntity ... $entities)
 

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

 getList (array $params)
 
 loadCollection (array $entityFields, BaseIblockElementEntity $parent)
 
 prepareField (array $fields, array $settings)
 
 prepareSettings (array $settings)
 

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

 $factory
 

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

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

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

◆ __construct()

__construct ( PropertyFactory  $factory,
PropertyValueFactory  $propertyValueFactory 
)

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

Методы

◆ createCollection()

createCollection ( )

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

◆ createEntity()

createEntity ( array  $fields = [],
array  $settings = [] 
)

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

◆ delete()

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

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

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

Замещает RepositoryContract.

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

◆ getCollectionByParent()

getCollectionByParent ( BaseIblockElementEntity  $entity)

Замещает PropertyRepositoryContract.

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

◆ getEntitiesBy()

getEntitiesBy (   $params,
array  $propertySettings = [] 
)

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

◆ getEntityById()

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

Замещает RepositoryContract.

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

◆ getList()

getList ( array  $params)
protected

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

◆ getPropertiesSettingsByFilter()

getPropertiesSettingsByFilter ( array  $filter)

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

◆ loadCollection()

loadCollection ( array  $entityFields,
BaseIblockElementEntity  $parent 
)
protected

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

◆ prepareField()

prepareField ( array  $fields,
array  $settings 
)
protected

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

◆ prepareSettings()

prepareSettings ( array  $settings)
protected

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

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

◆ $factory

$factory
protected

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