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

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

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

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

- Статические открытые данные унаследованные от Restriction
static $easeSort = 100
 
- Защищенные статические члены унаследованные от Restriction
static extractParams (Entity $entity)
 

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

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

Методы

◆ check()

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

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

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

◆ getClassDescription()

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

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

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

◆ getClassTitle()

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

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

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

◆ getOnApplyErrorMessage()

static getOnApplyErrorMessage ( )
static

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

Возвращает
string

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

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

◆ getParamsStructure()

static getParamsStructure ( $entityId = 0)
static
Аргументы
$entityId
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

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

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

◆ getSeverity()

static getSeverity ( $mode)
static
Аргументы
$mode
Возвращает
int

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

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