1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс QuantityControl

Открытые статические члены

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)

Поля данных

const QUANTITY = 'quantity'
const AVAILABLE_QUANTITY = 'available_quantity'
const RESERVED_QUANTITY = 'reserved_quantity'
const RESERVER_STORE_QUANTITY = 'reserved_store_quantity'
const QUANTITY_CONTROL_QUANTITY = self::QUANTITY
const QUANTITY_CONTROL_AVAILABLE_QUANTITY = self::AVAILABLE_QUANTITY
const QUANTITY_CONTROL_RESERVED_QUANTITY = self::RESERVED_QUANTITY

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

См. определение в файле 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
Аргументы
string | int$productId
Возвращает
null|float

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

◆ getQuantity()

getQuantity ( $productId)
static
Аргументы
string | int$productId
Возвращает
null|float

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

◆ getReservedQuantity()

getReservedQuantity ( $productId)
static
Аргументы
string | int$productId
Возвращает
null|float

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

◆ 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
Аргументы
string | int | null$productId

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

◆ resetQuantity()

resetQuantity ( $productId)
static
Аргументы
string | int$productId
Возвращает
void

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

◆ resetReservedQuantity()

resetReservedQuantity ( $productId)
static
Аргументы
string | int$productId
Возвращает
void

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

◆ resetReservedStoreQuantity()

resetReservedStoreQuantity ( $productId)
static
Аргументы
string | int | null$productId

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

◆ 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
Аргументы
string | int$productId
Возвращает
void

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

◆ 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'

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

◆ QUANTITY

const QUANTITY = 'quantity'

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

◆ QUANTITY_CONTROL_AVAILABLE_QUANTITY

const QUANTITY_CONTROL_AVAILABLE_QUANTITY = self::AVAILABLE_QUANTITY

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

◆ QUANTITY_CONTROL_QUANTITY

const QUANTITY_CONTROL_QUANTITY = self::QUANTITY

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

◆ QUANTITY_CONTROL_RESERVED_QUANTITY

const QUANTITY_CONTROL_RESERVED_QUANTITY = self::RESERVED_QUANTITY

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

◆ RESERVED_QUANTITY

const RESERVED_QUANTITY = 'reserved_quantity'

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

◆ RESERVER_STORE_QUANTITY

const RESERVER_STORE_QUANTITY = 'reserved_store_quantity'

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


Объявления и описания членов класса находятся в файле: