Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ElementPrice
+ Граф наследования:ElementPrice:

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

 __construct ($id)
 
 resolve ($entity)
 
 setFields (array $fields)
 
- Открытые члены унаследованные от Base
 __construct (BatchManager $batchManager, int $storeId)
 
 setStoreId (int $storeId)
 
 writeOff (float $quantity)
 
 return ()
 

Защищенные члены

 loadFromDatabase ()
 
- Защищенные члены унаследованные от Base
 addRegistryItem (EO_StoreBatch $batchItem, float $amount)
 
 getRegistryItems ()
 

Дополнительные унаследованные члены

- Защищенные данные унаследованные от Base
int $storeId
 
BatchManager $batchManager
 

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

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

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

◆ __construct()

__construct ( $id)
Аргументы
integer$idCatalog product identifier.

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

Методы

◆ loadFromDatabase()

loadFromDatabase ( )
protected

Loads values from database. Returns true on success.

Возвращает
boolean

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

◆ resolve()

resolve ( $entity)

Used to find entity for template processing.

Аргументы
string$entityWhat to find.
Возвращает
\Bitrix\Iblock\Template\Entity\Base

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

◆ setFields()

setFields ( array $fields)

Used to initialize entity fields from some external source.

Аргументы
array$fieldsEntity fields.
Возвращает
void

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