Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
SkuRepositoryContract.php
1
<?php
2
3
namespace
Bitrix\Catalog\v2\Sku
;
4
5
use
Bitrix\Catalog\v2\IblockElementRepositoryContract
;
6
use
Bitrix\Catalog\v2\Product\BaseProduct
;
7
use Iterator;
8
17
interface
SkuRepositoryContract
extends
IblockElementRepositoryContract
18
{
19
public
function
getCollectionByProduct
(
BaseProduct
$product):
SkuCollection
;
20
21
public
function
getEntitiesByProduct
(
BaseProduct
$product, array $params): Iterator;
22
23
public
function
getCountByProductId
(
int
$productId): int;
24
}
Bitrix\Catalog\v2\Product\BaseProduct
Definition
BaseProduct.php:31
Bitrix\Catalog\v2\Sku\SkuCollection
Definition
SkuCollection.php:19
Bitrix\Catalog\v2\IblockElementRepositoryContract
Definition
IblockElementRepositoryContract.php:14
Bitrix\Catalog\v2\Sku\SkuRepositoryContract
Definition
SkuRepositoryContract.php:18
Bitrix\Catalog\v2\Sku\SkuRepositoryContract\getCountByProductId
getCountByProductId(int $productId)
Bitrix\Catalog\v2\Sku\SkuRepositoryContract\getEntitiesByProduct
getEntitiesByProduct(BaseProduct $product, array $params)
Bitrix\Catalog\v2\Sku\SkuRepositoryContract\getCollectionByProduct
getCollectionByProduct(BaseProduct $product)
Bitrix\Catalog\v2\Sku
Definition
BaseSku.php:3
modules
catalog
lib
v2
Sku
SkuRepositoryContract.php
Создано системой
1.10.0