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

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

 getProductList ()
 
 addProduct (ProductInfo ... $product)
 
- Открытые члены унаследованные от StoreInfo
 __construct (int $storeId)
 
 getStoreId ()
 
 getStoreName ()
 
 getCalculatedSumPrice ()
 

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

array $productList = []
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от StoreInfo
static loadStoreName (int ... $storeIds)
 
static setStoreName (int $storeId, string $storeName)
 

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

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

Методы

◆ addProduct()

addProduct ( ProductInfo ... $product)

Add product to storage instance or summarize quantity if it exists

Аргументы
ProductInfo...$product
Возвращает
void

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

◆ getProductList()

getProductList ( )

Return array of ProductInfo instances

Возвращает
array

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

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

◆ $productList

array $productList = []
protected

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