См. определение в файле type.php строка 7
◆ clearScope()
Clear selected scope.
- Возвращает
- void
См. определение в файле type.php строка 98
◆ getCurrentScopeId()
static getCurrentScopeId |
( |
| ) |
|
|
static |
Returns current scope id.
- Возвращает
- string|null
См. определение в файле type.php строка 160
◆ getDomainId()
Returns domain id for new site.
- Возвращает
- int|string
См. определение в файле type.php строка 147
◆ getExcludedHooks()
static getExcludedHooks |
( |
| ) |
|
|
static |
Returns array of hook's codes, which excluded by scope.
- Возвращает
- array
См. определение в файле type.php строка 189
◆ getFilterType()
static getFilterType |
( |
| $strict = false | ) |
|
|
static |
Returns filter value for 'TYPE' key.
- Аргументы
-
bool | $strict | If strict, returns without default. |
- Возвращает
- string|string[]
См. определение в файле type.php строка 174
◆ getKeyCode()
Return general key for site path (ID or CODE).
- Возвращает
- string
См. определение в файле type.php строка 133
◆ getOperationsForSite()
static getOperationsForSite |
( |
int | $siteId | ) |
|
|
static |
Scoped method for returning available operations of site.
- Аргументы
-
- См. также
- \Bitrix\Landing\Rights::getOperationsForSite
- Возвращает
- array|null
См. определение в файле type.php строка 225
◆ getPublicationPath()
static getPublicationPath |
( |
| ) |
|
|
static |
Returns publication path string.
- Возвращает
- string|null
См. определение в файле type.php строка 119
◆ getScopeClass()
static getScopeClass |
( |
| $scope | ) |
|
|
staticprotected |
Returns scope class, if exist.
- Аргументы
-
- Возвращает
- string|null
См. определение в файле type.php строка 41
◆ getSiteTypeForms()
static getSiteTypeForms |
( |
| $siteCode | ) |
|
|
static |
Detects site type forms and returns it.
- Аргументы
-
- Возвращает
- string|null
См. определение в файле type.php строка 58
◆ isEnabled()
static isEnabled |
( |
| $code | ) |
|
|
static |
Returns true, if type is enabled in system.
- Аргументы
-
- Возвращает
- bool
См. определение в файле type.php строка 204
◆ isPublicScope()
static isPublicScope |
( |
?string | $scope = null | ) |
|
|
static |
Returns true if scope is public.
- Аргументы
-
string | null | $scope | Scope code. |
- Возвращает
- bool
См. определение в файле type.php строка 109
◆ setScope()
static setScope |
( |
| $scope, |
|
|
array | $params = [] ) |
|
static |
Set global scope.
- Аргументы
-
string | $scope | Scope code. |
array | $params | Additional params. |
- Возвращает
- void
См. определение в файле type.php строка 73
◆ $currentScopeClass
$currentScopeClass = null |
|
staticprotected |
◆ $scopeInit
◆ PSEUDO_SCOPE_CODE_FORMS
const PSEUDO_SCOPE_CODE_FORMS = 'crm_forms' |
Pseudo scope for crm forms.
См. определение в файле type.php строка 22
◆ SCOPE_CODE_GROUP
const SCOPE_CODE_GROUP = 'GROUP' |
Scope group.
См. определение в файле type.php строка 12
◆ SCOPE_CODE_KNOWLEDGE
const SCOPE_CODE_KNOWLEDGE = 'KNOWLEDGE' |
Scope knowledge.
См. определение в файле type.php строка 17