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

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

static getRestrictionCodeByHookCode (string $hookCode)
static isHookAllowed (string $hookCode)
static isAllowed (string $code)

Поля данных

const MAP

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

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

Методы

◆ getRestrictionCodeByHookCode()

getRestrictionCodeByHookCode ( string $hookCode)
static

Returns restriction code by hook code.

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

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

◆ isAllowed()

isAllowed ( string $code)
static

Checks hook restriction existing by code.

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

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

◆ isHookAllowed()

isHookAllowed ( string $hookCode)
static

Checks hook restriction by hook code.

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

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

Поля

◆ MAP

const MAP
Инициализатор
= [
'gtm' => 'limit_sites_google_analytics',
'gacounter' => 'limit_sites_google_analytics',
'yacounter' => 'limit_sites_google_analytics',
'copyright' => 'limit_sites_powered_by',
'headblock' => 'limit_sites_html_js',
'theme' => 'limit_sites_change_color_palette',
]

Codes under limits.

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


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