Bitrix API

Scope

AbstractYes

Table of Contents

Methods

getCurrentScopeId()  : string|null
Returns current scope id.
getDomainId()  : int|string
Should return domain id for new site.
getExcludedHooks()  : array<string|int, mixed>
Returns array of hook's codes, which excluded by scope.
getFilterType()  : mixed
Should return filter value for 'TYPE' key.
getKeyCode()  : string
Should return general key for site path (ID or CODE).
getPublicationPath()  : string
Should return publication path string.
init()  : void
Method for first time initialization scope.

Methods

getCurrentScopeId()

Returns current scope id.

public static getCurrentScopeId() : string|null
Return values
string|null

getDomainId()

Should return domain id for new site.

public abstract static getDomainId() : int|string
Return values
int|string

getExcludedHooks()

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

public abstract static getExcludedHooks() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFilterType()

Should return filter value for 'TYPE' key.

public abstract static getFilterType() : mixed

getKeyCode()

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

public abstract static getKeyCode() : string
Return values
string

getPublicationPath()

Should return publication path string.

public abstract static getPublicationPath() : string
Return values
string

init()

Method for first time initialization scope.

public static init([array<string|int, mixed> $params = [] ]) : void
Parameters
$params : array<string|int, mixed> = []

Additional params.


        
On this page

Search results