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

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

static getTableName ()
static getMap ()
static onBeforeAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)
static isAllowedClearCache ()
static allowClearCache ()
static disallowClearCache ()
static clearPriceTypeIds ()
static setPriceTypeIds (string|int|array $priceTypes)
static clearCache ()
static deleteByPriceType (string|int $priceType)
static getRoundTypes (bool $full=false)
static getPresetRoundingValues ()
Открытые статические члены унаследованные от DataManager
static getEntity ()
static unsetEntity ($class)
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static getUfId ()
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static add (array $data)
static addMulti ($rows, $ignoreEvents=false)
static update ($primary, array $data)
static delete ($primary)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

Поля данных

const ROUND_MATH = 0x0001
const ROUND_UP = 0x0002
const ROUND_DOWN = 0x0004
Поля данных унаследованные от DataManager
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"

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

static setUserId (array &$result, array $data, array $keys)
static setTimestamp (array &$result, array $data, array $keys)
Защищенные статические члены унаследованные от DataManager
static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)

Статические защищенные данные

static int $clearCache = 0
static array $priceTypeIds = []
Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

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

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

Методы

◆ allowClearCache()

allowClearCache ( )
static

Allow clear cache after multiuse add/update/delete.

Возвращает
void

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

◆ clearCache()

clearCache ( )
static

Clear managed cache.

Возвращает
void

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

◆ clearPriceTypeIds()

clearPriceTypeIds ( )
static

Clear price type ids.

Возвращает
void

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

◆ deleteByPriceType()

deleteByPriceType ( string|int $priceType)
static

Delete rules by price type.

Аргументы
string | int$priceTypePrice type id.
Возвращает
void

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

◆ disallowClearCache()

disallowClearCache ( )
static

Disallow clear cache before multiuse add/update/delete.

Возвращает
void

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

◆ getMap()

getMap ( )
static

Returns entity map definition.

Возвращает
array

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

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

◆ getPresetRoundingValues()

getPresetRoundingValues ( )
static

Get preset rounding precision values for public interfaces and all kinds of validations

Возвращает
array

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

◆ getRoundTypes()

getRoundTypes ( bool $full = false)
static

Return round types.

Аргументы
bool$fullGet types with description.
Возвращает
array

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

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity.

Возвращает
string

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

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

◆ isAllowedClearCache()

isAllowedClearCache ( )
static

Returns current allow mode for cache clearing.

Возвращает
bool

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

◆ onAfterAdd()

onAfterAdd ( Event $event)
static

Default onAfterAdd handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for add.
Возвращает
void

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

◆ onAfterDelete()

onAfterDelete ( Event $event)
static

Default onAfterDelete handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for delete.
Возвращает
void

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

◆ onAfterUpdate()

onAfterUpdate ( Event $event)
static

Default onAfterUpdate handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for update.
Возвращает
void

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

◆ onBeforeAdd()

onBeforeAdd ( Event $event)
static

Default onBeforeAdd handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for add.
Возвращает
EventResult

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

◆ onBeforeUpdate()

onBeforeUpdate ( Event $event)
static

Default onBeforeUpdate handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for update.
Возвращает
EventResult

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

◆ onDelete()

onDelete ( Event $event)
static

Default onDelete handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for delete.
Возвращает
void

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

◆ onUpdate()

onUpdate ( Event $event)
static

Default onUpdate handler. Absolutely necessary.

Аргументы
Event$eventCurrent data for update.
Возвращает
void

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

◆ setPriceTypeIds()

setPriceTypeIds ( string|int|array $priceTypes)
static

Set price type list for cache clearing.

Аргументы
string | int | array$priceTypesPrice types for cache clearing.
Возвращает
void

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

◆ setTimestamp()

setTimestamp ( array & $result,
array $data,
array $keys )
staticprotected

Fill datetime fields.

Аргументы
array&$resultModified data for add/update discount.
array$dataCurrent data for add/update discount.
array$keysList with checked keys (datetime info).
Возвращает
void

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

◆ setUserId()

setUserId ( array & $result,
array $data,
array $keys )
staticprotected

Fill user id fields.

Аргументы
array&$resultModified data for add/update discount.
array$dataCurrent data for add/update discount.
array$keysList with checked keys (userId info).
Возвращает
void

@noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection

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

Поля

◆ $clearCache

int $clearCache = 0
staticprotected

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

◆ $priceTypeIds

array $priceTypeIds = []
staticprotected

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

◆ ROUND_DOWN

const ROUND_DOWN = 0x0004

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

◆ ROUND_MATH

const ROUND_MATH = 0x0001

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

◆ ROUND_UP

const ROUND_UP = 0x0002

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


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