|
| 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()
| addAvailableQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 186
◆ addQuantity()
| addQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 56
◆ addReservedQuantity()
| addReservedQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 112
◆ addReservedStoreQuantity()
| 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()
| getAvailableQuantity |
( |
| $productId | ) |
|
|
static |
◆ getQuantity()
| getQuantity |
( |
| $productId | ) |
|
|
static |
◆ getReservedQuantity()
| getReservedQuantity |
( |
| $productId | ) |
|
|
static |
◆ getReservedStoreQuantity()
| getReservedStoreQuantity |
( |
| $productId, |
|
|
int | $storeId ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | $storeId | |
- Возвращает
- null|float
См. определение в файле quantitycontrol.php строка 280
◆ resetAllQuantity()
| resetAllQuantity |
( |
| $productId = null | ) |
|
|
static |
- Аргументы
-
| string | int | null | $productId | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 26
◆ resetAvailableQuantity()
| resetAvailableQuantity |
( |
| $productId | ) |
|
|
static |
◆ resetQuantity()
| resetQuantity |
( |
| $productId | ) |
|
|
static |
◆ resetReservedQuantity()
| resetReservedQuantity |
( |
| $productId | ) |
|
|
static |
◆ resetReservedStoreQuantity()
| resetReservedStoreQuantity |
( |
| $productId | ) |
|
|
static |
◆ setAvailableQuantity()
| setAvailableQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 170
◆ setQuantity()
| setQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 40
◆ setReservedQuantity()
| setReservedQuantity |
( |
| $productId, |
|
|
| $value ) |
|
static |
- Аргументы
-
| string | int | $productId | |
| int | float | string | null | $value | |
- Возвращает
- void
См. определение в файле quantitycontrol.php строка 96
◆ setReservedQuantityFromStores()
| setReservedQuantityFromStores |
( |
| $productId | ) |
|
|
static |
◆ setReservedStoreQuantity()
| 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()
| 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' |
Объявления и описания членов класса находятся в файле: