Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
scope.php
1<?php
2namespace Bitrix\Landing\Site;
3
4abstract class Scope
5{
6 protected static $currentScopeId = null;
7
13 public static function init(array $params = [])
14 {
15 $reflectionClass = new \ReflectionClass(get_called_class());
16 self::$currentScopeId = mb_strtoupper($reflectionClass->getShortName());
17 }
18
23 public static function getCurrentScopeId()
24 {
25 return self::$currentScopeId;
26 }
27
32 abstract public static function getPublicationPath();
33
38 abstract public static function getKeyCode();
39
44 abstract public static function getDomainId();
45
50 abstract public static function getFilterType();
51
56 abstract public static function getExcludedHooks(): array;
57}
static init(array $params=[])
Definition scope.php:13
static getCurrentScopeId()
Definition scope.php:23