1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Price
Граф наследования:Price:
Entity Price PercentPrice

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

static getTabletClassName ()
static recountPricesFromBase ($id)
static clearSettings ()
Открытые статические члены унаследованные от Entity
static getEntity ()
static getList (array $parameters)
static getRow (array $parameters)
static clearCache ()
static add (array $data)
static update ($id, array $data)
static delete ($id)
static setCacheItem ($id, array $row)
static getCacheItem ($id, bool $load=false)
static clearCacheItem ($id)
static getTabletFieldNames (int $fields=self::FIELDS_MAIN)
static getCachedFieldList ()
static getCallbackRestEvent ()

Защищенные статические члены

static getDefaultCachedFieldList ()
static prepareForAdd (ORM\Data\AddResult $result, $id, array &$data)
static prepareForUpdate (ORM\Data\UpdateResult $result, $id, array &$data)
static runAddExternalActions ($id, array $data)
static runUpdateExternalActions ($id, array $data)
static runDeleteExternalActions ($id)
Защищенные статические члены унаследованные от Entity
static deleteNoDemands ($id)
static normalize (array &$data)
static prepareFloatValue ($value)
static prepareIntValue ($value)
static prepareStringValue ($value)

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

Открытые члены унаследованные от Entity
 __construct ()
 fetch (Main\Text\Converter $converter=null)
Поля данных унаследованные от Entity
const PREFIX_OLD = 'OLD_'
const EVENT_ON_BUILD_CACHED_FIELD_LIST = 'OnBuildCachedFieldList'
const FIELDS_MAIN = 0x0001
const FIELDS_UF = 0x0002
const FIELDS_ALL = self::FIELDS_MAIN|self::FIELDS_UF
Защищенные члены унаследованные от Entity
 getTablet ()

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

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

Методы

◆ clearSettings()

clearSettings ( )
static

Переопределяет метод предка Entity.

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

◆ getDefaultCachedFieldList()

getDefaultCachedFieldList ( )
staticprotected

Returns product price default fields list for caching.

Возвращает
array

Переопределяет метод предка Entity.

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

◆ getTabletClassName()

getTabletClassName ( )
static

Returns price tablet name.

Возвращает
string

Переопределяет метод предка Entity.

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

◆ prepareForAdd()

prepareForAdd ( ORM\Data\AddResult $result,
$id,
array & $data )
staticprotected

Check and modify fields before add product price. Need for entity automation.

Аргументы
ORM\Data\AddResult$result
int | null$id
array&$data
Возвращает
void

Переопределяет метод предка Entity.

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

◆ prepareForUpdate()

prepareForUpdate ( ORM\Data\UpdateResult $result,
$id,
array & $data )
staticprotected

Check and modify fields before update product price. Need for entity automation.

Аргументы
ORM\Data\UpdateResult$result
int$id
array&$data
Возвращает
void

Переопределяет метод предка Entity.

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

◆ recountPricesFromBase()

recountPricesFromBase ( $id)
static

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

◆ runAddExternalActions()

runAddExternalActions ( $id,
array $data )
staticprotected

Run core automation after add product price.

Аргументы
int$id
array$data
Возвращает
void

Переопределяет метод предка Entity.

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

◆ runDeleteExternalActions()

runDeleteExternalActions ( $id)
staticprotected

Run core automation after delete product price.

Аргументы
int$id
Возвращает
void

Переопределяет метод предка Entity.

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

◆ runUpdateExternalActions()

runUpdateExternalActions ( $id,
array $data )
staticprotected

Run core automation after update product price.

Аргументы
int$id
array$data
Возвращает
void

Переопределяет метод предка Entity.

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


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