|
static | resetAllQuantity ($productId=null) |
|
static | setQuantity ($productId, $value) |
|
static | addQuantity ($productId, $value) |
|
static | getQuantity ($productId) |
|
static | resetQuantity ($productId) |
|
static | setReservedQuantity ($productId, $value) |
|
static | addReservedQuantity ($productId, $value) |
|
static | getReservedQuantity ($productId) |
|
static | resetReservedQuantity ($productId) |
|
static | setReservedQuantityFromStores ($productId) |
|
static | setAvailableQuantity ($productId, $value) |
|
static | addAvailableQuantity ($productId, $value) |
|
static | getAvailableQuantity ($productId) |
|
static | resetAvailableQuantity ($productId) |
|
static | setReservedStoreQuantity ($productId, int $storeId, $value, bool $summary=false) |
|
static | addReservedStoreQuantity ($productId, int $storeId, $value, bool $summary=false) |
|
static | getReservedStoreQuantity ($productId, int $storeId) |
|
static | resetReservedStoreQuantity ($productId) |
|
static | setValues ($productId, array $values) |
|
См. определение в файле quantitycontrol.php строка 5
◆ addAvailableQuantity()
static addAvailableQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 186
◆ addQuantity()
static addQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 56
◆ addReservedQuantity()
static addReservedQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 112
◆ addReservedStoreQuantity()
static addReservedStoreQuantity |
( |
|
$productId, |
|
|
int |
$storeId, |
|
|
|
$value, |
|
|
bool |
$summary = false |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | $storeId | |
int | float | string | null | $value | |
bool | $summary | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 255
◆ getAvailableQuantity()
static getAvailableQuantity |
( |
|
$productId | ) |
|
|
static |
◆ getQuantity()
static getQuantity |
( |
|
$productId | ) |
|
|
static |
◆ getReservedQuantity()
static getReservedQuantity |
( |
|
$productId | ) |
|
|
static |
◆ getReservedStoreQuantity()
static getReservedStoreQuantity |
( |
|
$productId, |
|
|
int |
$storeId |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | $storeId | |
- Возвращает
- null|float
См. определение в файле quantitycontrol.php строка 280
◆ resetAllQuantity()
static resetAllQuantity |
( |
|
$productId = null | ) |
|
|
static |
- Аргументы
-
string | int | null | $productId | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 26
◆ resetAvailableQuantity()
static resetAvailableQuantity |
( |
|
$productId | ) |
|
|
static |
◆ resetQuantity()
static resetQuantity |
( |
|
$productId | ) |
|
|
static |
◆ resetReservedQuantity()
static resetReservedQuantity |
( |
|
$productId | ) |
|
|
static |
◆ resetReservedStoreQuantity()
static resetReservedStoreQuantity |
( |
|
$productId | ) |
|
|
static |
◆ setAvailableQuantity()
static setAvailableQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 170
◆ setQuantity()
static setQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 40
◆ setReservedQuantity()
static setReservedQuantity |
( |
|
$productId, |
|
|
|
$value |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 96
◆ setReservedQuantityFromStores()
static setReservedQuantityFromStores |
( |
|
$productId | ) |
|
|
static |
◆ setReservedStoreQuantity()
static setReservedStoreQuantity |
( |
|
$productId, |
|
|
int |
$storeId, |
|
|
|
$value, |
|
|
bool |
$summary = false |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
int | $storeId | |
int | float | string | null | $value | |
bool | $summary | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 226
◆ setValues()
static setValues |
( |
|
$productId, |
|
|
array |
$values |
|
) |
| |
|
static |
- Аргументы
-
string | int | $productId | |
array | $values | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 372
◆ AVAILABLE_QUANTITY
const AVAILABLE_QUANTITY = 'available_quantity' |
◆ QUANTITY
const QUANTITY = 'quantity' |
◆ QUANTITY_CONTROL_AVAILABLE_QUANTITY
const QUANTITY_CONTROL_AVAILABLE_QUANTITY = self::AVAILABLE_QUANTITY |
◆ QUANTITY_CONTROL_QUANTITY
const QUANTITY_CONTROL_QUANTITY = self::QUANTITY |
◆ QUANTITY_CONTROL_RESERVED_QUANTITY
const QUANTITY_CONTROL_RESERVED_QUANTITY = self::RESERVED_QUANTITY |
◆ RESERVED_QUANTITY
const RESERVED_QUANTITY = 'reserved_quantity' |
◆ RESERVER_STORE_QUANTITY
const RESERVER_STORE_QUANTITY = 'reserved_store_quantity' |