См. определение в файле storeamount.php строка 25
◆ __construct()
__construct |
( |
int |
$entityId | ) |
|
◆ fillStoreTotal()
Combine Amount and Quantity info from all stores to one array
См. определение в файле storeamount.php строка 355
◆ getDefaultMeasure()
Return default measure value
- Возвращает
- array
См. определение в файле storeamount.php строка 501
◆ getEntityId()
◆ getMeasure()
getMeasure |
( |
?int |
$measureId | ) |
|
Return measure symbol from ID
- Аргументы
-
- Возвращает
- string
См. определение в файле storeamount.php строка 473
◆ getProductStores()
getProductStores |
( |
array |
$params = [] | ) |
|
◆ getStoreAmountComponentName()
getStoreAmountComponentName |
( |
| ) |
|
|
protected |
◆ getStoreAmountGridId()
◆ getStoreAmountParameters()
getStoreAmountParameters |
( |
| ) |
|
|
protected |
◆ getStoreAmountSignedParameters()
getStoreAmountSignedParameters |
( |
| ) |
|
◆ getStoresCount()
◆ getStoresInfo()
getStoresInfo |
( |
array |
$storeIds | ) |
|
|
protected |
Return array of information of a stores
- Аргументы
-
array | $storeIds | IDs of stores |
- Возвращает
- array
См. определение в файле storeamount.php строка 235
◆ getStoreTotal()
Check exists and return array of total information about product stores
- Возвращает
- array
См. определение в файле storeamount.php строка 342
◆ getTotalData()
Form and prepare data to render in total info page block
- Возвращает
- array
См. определение в файле storeamount.php строка 271
◆ getVariationIds()
◆ getVariationsData()
getVariationsData |
( |
array |
$variationIds | ) |
|
|
protected |
◆ getVariationsTotalData()
getVariationsTotalData |
( |
array |
$variationIds | ) |
|
|
protected |
Get array of variations with a total stores data of it
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле storeamount.php строка 407
◆ $defaultMeasure
◆ $entityId
◆ $measures
◆ $storesCount
◆ $storeTotal
◆ $variationIds
◆ GRID_NAME
const GRID_NAME = 'productcard_store_amount' |
|
protected |