Открытые члены | |
__construct (SkuFactory $factory, IblockInfo $iblockInfo, ProductRepositoryContract $productRepository, PropertyRepositoryContract $propertyRepository) | |
getCollectionByProduct (BaseProduct $product) | |
getEntitiesByProduct (BaseProduct $product, array $params) | |
loadEagerCollectionByProduct (BaseProduct $product) | |
getEntitiesBy ($params) | |
setDetailUrlTemplate (?string $template) | |
setAutoloadDetailUrl (bool $state) | |
getCountByProductId (int $productId) | |
![]() | |
__construct (BaseIblockElementFactory $factory, IblockInfo $iblockInfo) | |
getEntityById (int $id) | |
save (BaseEntity ... $entities) | |
delete (BaseEntity ... $entities) | |
checkAutoloadDetailUrl () | |
getDetailUrlTemplate () | |
Защищенные члены | |
getAdditionalFilter () | |
getAdditionalProductFilter () | |
makeEntity (array $fields=[]) | |
createEntity (array $fields=[], PropertyCollection $propertyCollection=null) | |
![]() | |
getDefaultElementSelect () | |
getList (array $params) | |
createEntity (array $fields=[]) | |
addInternal (array $fields) | |
updateInternal (int $id, array $fields) | |
deleteInternal (int $id) | |
prepareElementFields (array $fields) | |
prepareProductFields (array $fields) | |
Защищенные данные | |
$factory | |
$productRepository | |
$propertyRepository | |
![]() | |
$factory | |
$iblockInfo | |
См. определение в файле SkuRepository.php строка 23
__construct | ( | SkuFactory | $factory, |
IblockInfo | $iblockInfo, | ||
ProductRepositoryContract | $productRepository, | ||
PropertyRepositoryContract | $propertyRepository ) |
SkuRepository constructor.
\Bitrix\Catalog\v2\Sku\SkuFactory | $factory | |
\Bitrix\Catalog\v2\Iblock\IblockInfo | $iblockInfo | |
\Bitrix\Catalog\v2\Product\ProductRepositoryContract | $productRepository | |
\Bitrix\Catalog\v2\Property\PropertyRepositoryContract | $propertyRepository |
См. определение в файле SkuRepository.php строка 40
|
protected |
См. определение в файле SkuRepository.php строка 314
|
protected |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 109
|
protected |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 117
getCollectionByProduct | ( | BaseProduct | $product | ) |
\Bitrix\Catalog\v2\Product\BaseProduct | $product |
Замещает SkuRepositoryContract.
См. определение в файле SkuRepository.php строка 56
getCountByProductId | ( | int | $productId | ) |
Замещает SkuRepositoryContract.
См. определение в файле SkuRepository.php строка 350
getEntitiesBy | ( | $params | ) |
$params | array|\ArrayAccess |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 97
getEntitiesByProduct | ( | BaseProduct | $product, |
array | $params ) |
Sku entities for product.
BaseProduct | $product | |
array | $params | parameters for getList method |
Замещает SkuRepositoryContract.
См. определение в файле SkuRepository.php строка 76
loadEagerCollectionByProduct | ( | BaseProduct | $product | ) |
\Bitrix\Catalog\v2\Product\BaseProduct | $product |
См. определение в файле SkuRepository.php строка 85
|
protected |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 130
setAutoloadDetailUrl | ( | bool | $state | ) |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 340
setDetailUrlTemplate | ( | ?string | $template | ) |
Переопределяет метод предка BaseIblockElementRepository.
См. определение в файле SkuRepository.php строка 326
|
protected |
См. определение в файле SkuRepository.php строка 26
|
protected |
См. определение в файле SkuRepository.php строка 28
|
protected |
См. определение в файле SkuRepository.php строка 30