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

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

static init (array $params=[])
static getCurrentScopeId ()
static getPublicationPath ()
static getKeyCode ()
static getDomainId ()
static getFilterType ()
static getExcludedHooks ()

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

static $currentScopeId = null

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

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

Методы

◆ getCurrentScopeId()

getCurrentScopeId ( )
static

Returns current scope id.

Возвращает
string|null

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

◆ getDomainId()

getDomainId ( )
staticabstract

Should return domain id for new site.

Возвращает
int|string

Переопределяется в Group, Knowledge и Mainpage.

◆ getExcludedHooks()

getExcludedHooks ( )
staticabstract

Returns array of hook's codes, which excluded by scope.

Возвращает
array

Переопределяется в Group, Knowledge и Mainpage.

◆ getFilterType()

getFilterType ( )
staticabstract

Should return filter value for 'TYPE' key.

Возвращает
mixed

Переопределяется в Group, Knowledge и Mainpage.

◆ getKeyCode()

getKeyCode ( )
staticabstract

Should return general key for site path (ID or CODE).

Возвращает
string

Переопределяется в Group, Knowledge и Mainpage.

◆ getPublicationPath()

getPublicationPath ( )
staticabstract

Should return publication path string.

Возвращает
string

Переопределяется в Group, Knowledge и Mainpage.

◆ init()

init ( array $params = [])
static

Method for first time initialization scope.

Аргументы
array$paramsAdditional params.
Возвращает
void

Переопределяется в Group, Knowledge и Mainpage.

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

Поля

◆ $currentScopeId

$currentScopeId = null
staticprotected

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


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