Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
viewprovider.php
1
<?php
2
namespace
Bitrix\Report\VisualConstructor\RuntimeProvider
;
3
4
use
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager
;
5
use
Bitrix\Report\VisualConstructor\View
;
6
13
class
ViewProvider
extends
Base
14
{
18
protected
function
availableFilterKeys
()
19
{
20
return
array(
'primary'
,
'dataType'
);
21
}
22
26
protected
function
getManagerInstance
()
27
{
28
return
ViewManager::getInstance
();
29
}
30
34
protected
function
getEntitiesList
()
35
{
36
return
$this->
getManagerInstance
()->getViewControllers();
37
}
38
42
protected
function
getIndices
()
43
{
44
return
$this->
getManagerInstance
()->getIndices();
45
}
46
51
public
static
function
getViewByViewKey
($viewKey)
52
{
53
$viewProvider =
new
ViewProvider
();
54
$viewProvider->addFilter(
'primary'
, $viewKey);
55
return
$viewProvider->execute()->getFirstResult();
56
}
57
}
Bitrix\Report\VisualConstructor\Internal\Manager\Base\getInstance
static getInstance()
Definition
base.php:40
Bitrix\Report\VisualConstructor\Internal\Manager\ViewManager
Definition
viewmanager.php:13
Bitrix\Report\VisualConstructor\RuntimeProvider\Base
Definition
base.php:14
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider
Definition
viewprovider.php:14
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider\getViewByViewKey
static getViewByViewKey($viewKey)
Definition
viewprovider.php:51
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider\getIndices
getIndices()
Definition
viewprovider.php:42
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider\availableFilterKeys
availableFilterKeys()
Definition
viewprovider.php:18
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider\getEntitiesList
getEntitiesList()
Definition
viewprovider.php:34
Bitrix\Report\VisualConstructor\RuntimeProvider\ViewProvider\getManagerInstance
getManagerInstance()
Definition
viewprovider.php:26
Bitrix\Report\VisualConstructor\View
Definition
view.php:26
Bitrix\Report\VisualConstructor\RuntimeProvider
Definition
analyticboardbatchprovider.php:2
modules
report
lib
visualconstructor
runtimeprovider
viewprovider.php
Создано системой
1.10.0