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

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

 __construct ()
 get ($code)
 getByStore ($code, $storeId)
 set ($code, $quantity)
 setByStore ($code, $storeId, $quantity)
 delete ($code)
 deleteByStore ($code, $storeId)
 addItem ($code, $item)
 getQuantities ()
 getQuantitiesWithStore ()
 getItems ()

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

 $quantities = array()
 $items = array()

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

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

Конструктор(ы)

◆ __construct()

__construct ( )

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

Методы

◆ addItem()

addItem ( $code,
$item )
Аргументы
$code
$item

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

◆ delete()

delete ( $code)
Аргументы
$code

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

◆ deleteByStore()

deleteByStore ( $code,
$storeId )
Аргументы
$code

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

◆ get()

get ( $code)

Returns any variable by its name. Null if variable is not set.

Аргументы
$code
Возвращает
float | null

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

◆ getByStore()

getByStore ( $code,
$storeId )

Returns any variable by its name. Null if variable is not set.

Аргументы
$code
Возвращает
float | null

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

◆ getItems()

getItems ( )
Возвращает
array

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

◆ getQuantities()

getQuantities ( )
Возвращает
array

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

◆ getQuantitiesWithStore()

getQuantitiesWithStore ( )
Возвращает
array

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

◆ set()

set ( $code,
$quantity )
Аргументы
$code
$quantity

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

◆ setByStore()

setByStore ( $code,
$storeId,
$quantity )
Аргументы
$code
$quantity

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

Поля

◆ $items

$items = array()
protected

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

◆ $quantities

$quantities = array()
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/sale/lib/internals/pool.php