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

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

static getClassTitle ()
 
static getClassDescription ()
 
static getOnApplyErrorMessage ()
 
static check ($params, array $restrictionParams, $serviceId=0)
 
static getParamsStructure ($entityId=0)
 
static save (array $fields, $restrictionId=0)
 
static prepareParamsValues (array $paramsValues, $entityId=0)
 
static delete ($restrictionId, $entityId=0)
 
static prepareData (array $servicesIds)
 
- Открытые статические члены унаследованные от Restriction
static checkByEntity (Entity $entity, array $restrictionParams, $mode, $serviceId=0)
 
static validateRestriction ($fields)
 
static getSeverity ($mode)
 
static isAvailable ()
 
static getCode ()
 
static isMyCode (string $code)
 

Статические открытые данные

static $easeSort = 200
 
- Статические открытые данные унаследованные от Restriction
static $easeSort = 100
 

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

static getDeliveryServiceList ()
 
static getDeliveryByPaySystemsId ($paySystemId=0)
 
static prepareParamsForSaving (array $params=array(), $paySystemId=0)
 
- Защищенные статические члены унаследованные от Restriction
static extractParams (Entity $entity)
 

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

static $preparedData = array()
 

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

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

Методы

◆ check()

static check ( $params,
array $restrictionParams,
$serviceId = 0 )
static
Аргументы
$params
array$restrictionParams
int$serviceId
Возвращает
bool

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

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

◆ delete()

static delete ( $restrictionId,
$entityId = 0 )
static
Аргументы
$restrictionId
int$entityId
Возвращает
\Bitrix\Main\Entity\DeleteResult
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

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

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

◆ getClassDescription()

static getClassDescription ( )
static
Возвращает
string

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

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

◆ getClassTitle()

static getClassTitle ( )
static
Возвращает
string

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

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

◆ getDeliveryByPaySystemsId()

static getDeliveryByPaySystemsId ( $paySystemId = 0)
staticprotected
Аргументы
int$paySystemId
Возвращает
array|\int[]
Исключения

Bitrix\Main\ArgumentOutOfRangeException

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

◆ getDeliveryServiceList()

static getDeliveryServiceList ( )
staticprotected
Возвращает
array

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

◆ getOnApplyErrorMessage()

static getOnApplyErrorMessage ( )
static

Returns message that will be display if error occurs while applying restriction

Возвращает
string

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

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

◆ getParamsStructure()

static getParamsStructure ( $entityId = 0)
static
Аргументы
int$entityId
Возвращает
array

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

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

◆ prepareData()

static prepareData ( array $servicesIds)
static
Аргументы
array$servicesIds
Возвращает
string

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

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

◆ prepareParamsForSaving()

static prepareParamsForSaving ( array $params = array(),
$paySystemId = 0 )
staticprotected
Аргументы
array$params
int$paySystemId
Возвращает
array
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

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

◆ prepareParamsValues()

static prepareParamsValues ( array $paramsValues,
$entityId = 0 )
static
Аргументы
array$paramsValues
int$entityId
Возвращает
array

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

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

◆ save()

static save ( array $fields,
$restrictionId = 0 )
static
Аргументы
array$fields
int$restrictionId
Возвращает
\Bitrix\Main\Entity\AddResult|\Bitrix\Main\Entity\UpdateResult

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

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

Данные класса

◆ $easeSort

$easeSort = 200
static

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

◆ $preparedData

$preparedData = array()
staticprotected

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