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

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

static getActionCode (string $code)
static getLockIcon (?string $code, array $nodes=[])
static getSystemErrorMessage ($code)
static isAllowed (string $code, array $params=[], string $cacheSalt='')
static enableFeatureTmp ($feature)
static disableFeatureTmp ($feature)
static disableAllFeaturesTmp ()

Поля данных

const MAP

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

static getMapItem (string $code)
static includeInformerComponent ()

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

static $tmpFeatures = []

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

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

Методы

◆ disableAllFeaturesTmp()

disableAllFeaturesTmp ( )
static

Disable all tmp feature.

Возвращает
void

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

◆ disableFeatureTmp()

disableFeatureTmp ( $feature)
static

Disable some tmp feature.

Аргументы
string$featureFeature code.
Возвращает
void

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

◆ enableFeatureTmp()

enableFeatureTmp ( $feature)
static

Enable some feature for moment.

Аргументы
string$featureFeature code.
Возвращает
void

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

◆ getActionCode()

getActionCode ( string $code)
static

Returns JS action for the restriction.

Аргументы
string | null$codeRestriction code.
Возвращает
string|null

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

◆ getLockIcon()

getLockIcon ( ?string $code,
array $nodes = [] )
static

Returns lock icon html by restriction code.

Аргументы
string | null$codeRestriction code.
array$nodesHtml nodes for binding click event.
Возвращает
string|null

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

◆ getMapItem()

getMapItem ( string $code)
staticprotected

Returns map's item by code.

Аргументы
string$codeItem code.
Возвращает
array

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

◆ getSystemErrorMessage()

getSystemErrorMessage ( $code)
static
Аргументы
string | null$codeRestriction code.
Возвращает
string|null

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

◆ includeInformerComponent()

includeInformerComponent ( )
staticprotected

Includes necessary component.

Возвращает
void

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

◆ isAllowed()

isAllowed ( string $code,
array $params = [],
string $cacheSalt = '' )
static

Checks restriction existing by code.

Аргументы
string$codeRestriction code.
array$paramsAdditional params.
string$cacheSaltAdditional cache salt.
Возвращает
bool

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

Поля

◆ $tmpFeatures

$tmpFeatures = []
staticprotected

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

◆ MAP

const MAP

Restrictions map.

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


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