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

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

static PrepareLocation24Where ($val, $key, $operation, $negative, $field, &$arField, &$arFilter)
static DoProcessOrder (&$arOrder, $deliveryCode, &$arErrors)
static DoLoadDelivery ($location, $locationZip, $weight, $price, $currency, $siteId=null, $arShoppingCart=array())
static GetByID ($ID)
static GetLocationList ($arFilter=Array())
static CheckFields ($ACTION, &$arFields)
static SetDeliveryLocationPro ($ID, $locations)
static Update ($oldId, $arFields, $arOptions=array())
static Delete ($ID)
static GetDelivery2PaySystem ($arFilter=array())
static UpdateDeliveryPay ($ID, $arFields)
static GetList ($arOrder=array("SORT"=> "ASC", "NAME"=> "ASC"), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array(' *'))
static Add ($arFields, $arOptions=array())
static convertToNew ($renameTable=false)
static convertToNewAgent ($renameTable=false)
static convertPSRelationsAgent ()
static convertPSRelations ()
static createNoDeliveryServiceAgent ()
static getIdByCode ($code)
static getCodeById ($id)

Поля данных

const CONN_ENTITY_NAME = 'Bitrix\Sale\Delivery\DeliveryLocation'

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

static getFilterValue ($fieldName, $filter)
static isFieldInFilter ($fieldName, $filter)
static isFieldInFilter2 ($fieldName, $filter)
static hasNewServiceField ($name)
static convertFilterOldToNew (array $filter=array())
static convertGroupOldToNew ($groupBy)
static convertSelectOldToNew (array $selectFields=array())
static isFieldSelected ($fieldName, array $select)
static checkRestrictionFilter (array $restriction, array $filter)
static getSelectedRestrictionField (array $service, array $restriction, array $selectedFields)
static createD2LTable ()

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

Class CAllSaleDelivery

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

Методы

◆ Add()

Add ( $arFields,
$arOptions = array() )
static
Аргументы
$arFields
array$arOptions
Возвращает
bool|int
Исключения
Exception

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

◆ CheckFields()

CheckFields ( $ACTION,
& $arFields )
static

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

◆ checkRestrictionFilter()

checkRestrictionFilter ( array $restriction,
array $filter )
staticprotected
Аргументы
array$restriction
array$filter
Возвращает
bool
Исключения

Bitrix\Main\ArgumentNullException

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

◆ convertFilterOldToNew()

convertFilterOldToNew ( array $filter = array())
staticprotected
Аргументы
array$filter
Возвращает
array

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

◆ convertGroupOldToNew()

convertGroupOldToNew ( $groupBy)
staticprotected
Аргументы
$groupBy
Возвращает
array

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

◆ convertPSRelations()

convertPSRelations ( )
static
Возвращает
\Bitrix\Sale\Result
Исключения
Exception

Bitrix\Main\ArgumentException

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

◆ convertPSRelationsAgent()

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

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

◆ convertSelectOldToNew()

convertSelectOldToNew ( array $selectFields = array())
staticprotected
Аргументы
array$selectFields
Возвращает
array

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

◆ convertToNew()

convertToNew ( $renameTable = false)
static
Аргументы
bool | false$renameTable
Возвращает
\Bitrix\Sale\Result
Исключения
Exception

Bitrix\Main\ArgumentException

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

◆ convertToNewAgent()

convertToNewAgent ( $renameTable = false)
static
Аргументы
bool | false$renameTable
Возвращает
string

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

◆ createD2LTable()

createD2LTable ( )
staticprotected

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

◆ createNoDeliveryServiceAgent()

createNoDeliveryServiceAgent ( )
static
Возвращает
string
Исключения
Exception

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

◆ Delete()

Delete ( $ID)
static

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

◆ DoLoadDelivery()

DoLoadDelivery ( $location,
$locationZip,
$weight,
$price,
$currency,
$siteId = null,
$arShoppingCart = array() )
static

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

◆ DoProcessOrder()

DoProcessOrder ( & $arOrder,
$deliveryCode,
& $arErrors )
static
Аргументы
$arOrder
$deliveryCode
$arErrors
Возвращает
bool
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\SystemException

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

◆ GetByID()

GetByID ( $ID)
static

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

◆ getCodeById()

getCodeById ( $id)
static
Аргументы
int$idDelivery service id.
Возвращает
string Delivery service code.

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

◆ GetDelivery2PaySystem()

GetDelivery2PaySystem ( $arFilter = array())
static

The function select delivery and paysystem

Аргументы
array$arFilter- array to filter
Возвращает
object $dbRes - object result

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

◆ getFilterValue()

getFilterValue ( $fieldName,
$filter )
staticprotected
Аргументы
$fieldName
$filter
Возвращает
bool

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

◆ getIdByCode()

getIdByCode ( $code)
static
Аргументы
string$codeDelivery service code.
Возвращает
int Delivery id.

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

◆ GetList()

GetList ( $arOrder = array("SORT" => "ASC", "NAME" => "ASC"),
$arFilter = array(),
$arGroupBy = false,
$arNavStartParams = false,
$arSelectFields = array('*') )
static
Аргументы
array$arOrder
array$arFilter
bool$arGroupBy
bool$arNavStartParams
array$arSelectFields
Возвращает
\CDBResult
Исключения

Bitrix\Main\ArgumentException

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

◆ GetLocationList()

GetLocationList ( $arFilter = Array())
static
Аргументы
array$arFilter
Возвращает
bool|CDBResult

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

◆ getSelectedRestrictionField()

getSelectedRestrictionField ( array $service,
array $restriction,
array $selectedFields )
staticprotected
Аргументы
array$service
array$restriction
array$selectedFields
Возвращает
array

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

◆ hasNewServiceField()

hasNewServiceField ( $name)
staticprotected
Аргументы
$name
Возвращает
bool

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

◆ isFieldInFilter()

isFieldInFilter ( $fieldName,
$filter )
staticprotected
Аргументы
$fieldName
$filter
Возвращает
bool

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

◆ isFieldInFilter2()

isFieldInFilter2 ( $fieldName,
$filter )
staticprotected
Аргументы
$fieldName
$filter
Возвращает
bool

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

◆ isFieldSelected()

isFieldSelected ( $fieldName,
array $select )
staticprotected
Аргументы
$fieldName
array$select
Возвращает
bool

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

◆ PrepareLocation24Where()

PrepareLocation24Where ( $val,
$key,
$operation,
$negative,
$field,
& $arField,
& $arFilter )
static
Аргументы
$val
$key
$operation
$negative
$field
$arField
$arFilter
Возвращает
bool|string

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

◆ SetDeliveryLocationPro()

SetDeliveryLocationPro ( $ID,
$locations )
static
Аргументы
$ID
$locations

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

◆ Update()

Update ( $oldId,
$arFields,
$arOptions = array() )
static

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

◆ UpdateDeliveryPay()

UpdateDeliveryPay ( $ID,
$arFields )
static

The function updates delivery and paysystem

Аргументы
int$ID- code delivery
array$arFields- paysytem
Возвращает
int $ID - code delivery

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

Поля

◆ CONN_ENTITY_NAME

const CONN_ENTITY_NAME = 'Bitrix\Sale\Delivery\DeliveryLocation'

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


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