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

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

static getEventName ()
static deleteByDeliveryIdClassName ($deliveryId, $className)
static getRestrictedIds (\Bitrix\Sale\Shipment $shipment=null, $restrictionMode)
Открытые статические члены унаследованные от RestrictionManager
static getClassesList ()
static checkService ($serviceId, Entity $entity, $mode=self::MODE_CLIENT)
static getRestrictionsList ($serviceId)
static getSitesByServiceId ($id)
static getList (array $params)
static getById ($id)

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

 isClassSupportGroupFiltering ($className)

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

static getServiceType ()
static getBuildInRestrictions ()
static isClassValid ($className)
Защищенные статические члены унаследованные от RestrictionManager
static setCache ($serviceId, $serviceType, array $fields=array())
static getCache ($serviceId, $serviceType)
static getRestriction (string $restrictionCode)

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

static $classNames = null
Статические защищенные данные унаследованные от RestrictionManager
static $classNames
static $cachedFields = array()

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

Поля данных унаследованные от RestrictionManager
const ON_STARTUP_SERVICE_RESTRICTIONS_EVENT_NAME = "onStartupServiceRestrictions"
const MODE_CLIENT = 1
const MODE_MANAGER = 2
const SEVERITY_NONE = 0
const SEVERITY_SOFT = 1
const SEVERITY_STRICT = 2
const SERVICE_TYPE_SHIPMENT = 0
const SERVICE_TYPE_PAYMENT = 1
const SERVICE_TYPE_COMPANY = 2
const SERVICE_TYPE_CASHBOX = 3

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

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

Методы

◆ deleteByDeliveryIdClassName()

deleteByDeliveryIdClassName ( $deliveryId,
$className )
static
Аргументы
int$deliveryId
string$className

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

◆ getBuildInRestrictions()

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

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

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

◆ getEventName()

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

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

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

◆ getRestrictedIds()

getRestrictedIds ( \Bitrix\Sale\Shipment $shipment = null,
$restrictionMode )
static

Returns services wich have restrictions, but successfully pass checks.

Аргументы
\Bitrix\Sale\Shipment | null$shipment
int$restrictionModeRestrictionManager::MODE_CLIENT | RestrictionManager::MODE_MANAGER
Возвращает
int[]
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\SystemException

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

◆ getServiceType()

getServiceType ( )
staticprotected
Возвращает
int

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

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

◆ isClassSupportGroupFiltering()

isClassSupportGroupFiltering ( $className)
protected

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

◆ isClassValid()

isClassValid ( $className)
staticprotected

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

Поля

◆ $classNames

$classNames = null
staticprotected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/sale/lib/delivery/restrictions/manager.php