Knowledge extends Scope
Table of Contents
Methods
- getCurrentScopeId() : string|null
- Returns current scope id.
- getDomainId() : int
- Returns domain id for new site.
- getExcludedHooks() : array<string|int, mixed>
- Returns array of hook's codes, which excluded by scope.
- getFilterType() : string
- Returns filter value for 'TYPE' key.
- getKeyCode() : string
- Return general key for site path.
- getPublicationPath() : string
- Returns 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|nullgetDomainId()
Returns domain id for new site.
public
static getDomainId() : int
Return values
intgetExcludedHooks()
Returns array of hook's codes, which excluded by scope.
public
static getExcludedHooks() : array<string|int, mixed>
Return values
array<string|int, mixed>getFilterType()
Returns filter value for 'TYPE' key.
public
static getFilterType() : string
Return values
stringgetKeyCode()
Return general key for site path.
public
static getKeyCode() : string
Return values
stringgetPublicationPath()
Returns publication path string.
public
static getPublicationPath() : string
Return values
stringinit()
Method for first time initialization scope.
public
static init([array<string|int, mixed> $params = [] ]) : void
Parameters
- $params : array<string|int, mixed> = []
-
Additional params.