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

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

static getClassTitle ()
 
static getClassDescription ()
 
static check ($locationCode, array $restrictionParams, $deliveryId=0)
 
static getParamsStructure ($deliveryId=0)
 
static filterServicesArray (Shipment $shipment, array $restrictionFields)
 
- Открытые статические члены унаследованные от ByLocation
static save (array $fields, $restrictionId=0)
 
static delete ($restrictionId, $deliveryId=0)
 

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

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

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

static getD2LClass ()
 
- Защищенные статические члены унаследованные от ByLocation
static prepareParamsForSaving (array $params=array(), $deliveryId=0)
 
static getLocationsCompat (array $restrictionFields, $leftMargin, $rightMargin)
 

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

- Открытые члены унаследованные от Base
 __construct (BatchManager $batchManager, int $storeId)
 
 setStoreId (int $storeId)
 
 writeOff (float $quantity)
 
 return ()
 
- Защищенные члены унаследованные от Base
 addRegistryItem (EO_StoreBatch $batchItem, float $amount)
 
 getRegistryItems ()
 
- Защищенные данные унаследованные от Base
int $storeId
 
BatchManager $batchManager
 

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

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

Методы

◆ check()

static check ( $locationCode,
array $restrictionParams,
$deliveryId = 0 )
static

This function should accept only location CODE, not ID, being a part of modern API This function should accept only location CODE, not ID, being a part of modern API

Аргументы
string$locationCode
array$restrictionParams
int$deliveryId
Возвращает
bool

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

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

◆ filterServicesArray()

static filterServicesArray ( Shipment $shipment,
array $restrictionFields )
static
Аргументы
Shipment$shipment
array$restrictionFields
Возвращает
array

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

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

◆ getClassDescription()

static getClassDescription ( )
static

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

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

◆ getClassTitle()

static getClassTitle ( )
static

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

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

◆ getD2LClass()

static getD2LClass ( )
staticprotected

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

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

◆ getParamsStructure()

static getParamsStructure ( $deliveryId = 0)
static

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

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

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

◆ $easeSort

$easeSort = 200
static

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