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

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

static getClassTitle ()
static getClassDescription ()
static check ($locationCode, array $restrictionParams, $deliveryId=0)
static getParamsStructure ($deliveryId=0)
static save (array $fields, $restrictionId=0)
static delete ($restrictionId, $deliveryId=0)
static filterServicesArray (Shipment $shipment, array $restrictionFields)

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

static $easeSort = 200

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

static getD2LClass ()
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

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

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

Методы

◆ check()

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

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

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

Переопределяется в ExcludeLocation.

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

◆ delete()

delete ( $restrictionId,
$deliveryId = 0 )
static

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

◆ filterServicesArray()

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

Переопределяется в ExcludeLocation.

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

◆ getClassDescription()

getClassDescription ( )
static

Переопределяется в ExcludeLocation.

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

◆ getClassTitle()

getClassTitle ( )
static

Переопределяется в ExcludeLocation.

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

◆ getD2LClass()

getD2LClass ( )
staticprotected

Переопределяется в ExcludeLocation.

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

◆ getLocationsCompat()

getLocationsCompat ( array $restrictionFields,
$leftMargin,
$rightMargin )
staticprotected
Аргументы
array$restrictionFields
$leftMargin
$rightMargin
Возвращает
array

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

◆ getParamsStructure()

getParamsStructure ( $deliveryId = 0)
static

Переопределяется в ExcludeLocation.

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

◆ prepareParamsForSaving()

prepareParamsForSaving ( array $params = array(),
$deliveryId = 0 )
staticprotected

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

◆ save()

save ( array $fields,
$restrictionId = 0 )
static

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

Поля

◆ $easeSort

$easeSort = 200
static

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


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