Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
viewmanager.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\Internal\Manager
;
4
5
use
Bitrix\Report\VisualConstructor\Config\Common
;
6
use
Bitrix\Report\VisualConstructor\View
;
7
12
class
ViewManager
extends
Base
13
{
14
private
static
$viewsList;
15
private
static
$indices = array(
16
'dataType'
=> array()
17
);
18
22
protected
function
getEventTypeKey
()
23
{
24
return
Common::EVENT_VIEW_TYPE_COLLECT;
25
}
26
30
public
function
getViewControllers
()
31
{
32
return
self::$viewsList;
33
}
34
38
public
function
getIndices
()
39
{
40
return
self::$indices;
41
}
42
46
public
function
call
()
47
{
48
if
(!self::$viewsList)
49
{
51
$views = $this->
getResult
();
52
foreach
($views as $view)
53
{
54
self::$viewsList[$view->getKey()] = $view;
55
self::$indices[
'dataType'
][$view->getCompatibleDataType()][] = $view->getKey();
56
57
}
58
}
59
return
self::$viewsList;
60
}
61
}
Bitrix\Report\VisualConstructor\Config\Common
Definition
common.php:11
Bitrix\Report\VisualConstructor\Internal\Manager\Base
Definition
base.php:14
Bitrix\Report\VisualConstructor\Internal\Manager\Base\getResult
getResult()
Definition
base.php:100
Bitrix\Report\VisualConstructor\Internal\Manager\Base\call
call()
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager
Definition
viewmanager.php:13
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager\getViewControllers
getViewControllers()
Definition
viewmanager.php:30
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager\getIndices
getIndices()
Definition
viewmanager.php:38
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager\getEventTypeKey
getEventTypeKey()
Definition
viewmanager.php:22
Bitrix\Report\VisualConstructor\View
Definition
view.php:26
Bitrix\Report\VisualConstructor\Internal\Manager
Definition
analyticboardbatchmanager.php:3
modules
report
lib
visualconstructor
internal
manager
viewmanager.php
Создано системой
1.10.0