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

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

static DoProcessOrder (&$arOrder, $arOptions, &$arErrors)
static PrepareCurrency4Where ($val, $key, $operation, $negative, $field, $arField, $arFilter)
static GetByID ($ID)
static CheckFields ($ACTION, &$arFields)
static Add ($arFields)
static Update ($ID, $arFields)
static Delete ($ID)

Поля данных

const VERSION_OLD = Sale\Internals\DiscountTable::VERSION_OLD
const VERSION_NEW = Sale\Internals\DiscountTable::VERSION_NEW
const VERSION_15 = Sale\Internals\DiscountTable::VERSION_15
const OLD_DSC_TYPE_PERCENT = 'P'
const OLD_DSC_TYPE_FIX = 'V'
const PREPARE_CONDITIONS = 1
const PREPARE_ACTIONS = 2

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

 updateUserGroups ($discountID, $userGroups, $active, $updateData)

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

static getDiscountResult (&$oldOrder, &$currentOrder, $extMode=false)
static changeDiscountResult (&$oldOrder, &$order, &$discountResult)
static __Unpack ($arOrder, $strUnpack)
static __ApplyActions (&$arOrder, $strActions)
static __ConvertOldFormat ($strAction, &$arFields)
static __SetOldFields ($strAction, &$arFields)
static prepareDiscountConditions (&$conditions, &$result, &$handlers, $type, $site)
static updateDiscountHandlers ($discountID, $handlers, $update)
static getDiscountHandlers ($discountList)

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

static $cacheDiscountHandlers = array()
static $usedModules = array()

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

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

Методы

◆ __ApplyActions()

__ApplyActions ( & $arOrder,
$strActions )
staticprotected

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

◆ __ConvertOldFormat()

__ConvertOldFormat ( $strAction,
& $arFields )
staticprotected

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

◆ __SetOldFields()

__SetOldFields ( $strAction,
& $arFields )
staticprotected

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

◆ __Unpack()

__Unpack ( $arOrder,
$strUnpack )
staticprotected

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

◆ Add()

Add ( $arFields)
static

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

◆ changeDiscountResult()

changeDiscountResult ( & $oldOrder,
& $order,
& $discountResult )
staticprotected

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

◆ CheckFields()

CheckFields ( $ACTION,
& $arFields )
static

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

◆ Delete()

Delete ( $ID)
static

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

◆ DoProcessOrder()

DoProcessOrder ( & $arOrder,
$arOptions,
& $arErrors )
static
См. также
\Bitrix\Sale\Discount
Аргументы
array&$arOrder
array$arOptions
array&$arErrors
Возвращает
void
Исключения
Main

ArgumentException

Исключения
Main

ArgumentNullException

Исключения
Main

ArgumentOutOfRangeException

Исключения
Main

ObjectException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

◆ GetByID()

GetByID ( $ID)
static

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

◆ getDiscountHandlers()

getDiscountHandlers ( $discountList)
staticprotected

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

◆ getDiscountResult()

getDiscountResult ( & $oldOrder,
& $currentOrder,
$extMode = false )
staticprotected

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

◆ PrepareCurrency4Where()

PrepareCurrency4Where ( $val,
$key,
$operation,
$negative,
$field,
$arField,
$arFilter )
static

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

◆ prepareDiscountConditions()

prepareDiscountConditions ( & $conditions,
& $result,
& $handlers,
$type,
$site )
staticprotected

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

◆ Update()

Update ( $ID,
$arFields )
static

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

◆ updateDiscountHandlers()

updateDiscountHandlers ( $discountID,
$handlers,
$update )
staticprotected

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

◆ updateUserGroups()

updateUserGroups ( $discountID,
$userGroups,
$active,
$updateData )
protected

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

Поля

◆ $cacheDiscountHandlers

$cacheDiscountHandlers = array()
staticprotected

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

◆ $usedModules

$usedModules = array()
staticprotected

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

◆ OLD_DSC_TYPE_FIX

const OLD_DSC_TYPE_FIX = 'V'

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

◆ OLD_DSC_TYPE_PERCENT

const OLD_DSC_TYPE_PERCENT = 'P'

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

◆ PREPARE_ACTIONS

const PREPARE_ACTIONS = 2

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

◆ PREPARE_CONDITIONS

const PREPARE_CONDITIONS = 1

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

◆ VERSION_15

const VERSION_15 = Sale\Internals\DiscountTable::VERSION_15

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

◆ VERSION_NEW

const VERSION_NEW = Sale\Internals\DiscountTable::VERSION_NEW

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

◆ VERSION_OLD

const VERSION_OLD = Sale\Internals\DiscountTable::VERSION_OLD

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


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