Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
analyticboardprovider.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\RuntimeProvider
;
4
5
use
Bitrix\Report\VisualConstructor\AnalyticBoard
;
6
use
Bitrix\Report\VisualConstructor\AnalyticBoardBatch
;
7
use
Bitrix\Report\VisualConstructor\Internal\Manager\AnalyticBoardManager
;
8
use Bitrix\Report\VisualConstructor\IProvidable;
9
15
class
AnalyticBoardProvider
extends
Base
16
{
20
protected
function
availableFilterKeys
()
21
{
22
return
[
'primary'
,
'boardKey'
,
'boardBatchKey'
,
'group'
];
23
}
24
28
protected
function
getManagerInstance
()
29
{
30
return
AnalyticBoardManager::getInstance();
31
}
32
36
protected
function
getEntitiesList
()
37
{
38
return
$this->
getManagerInstance
()->getAnalyticBoardsList();
39
}
40
45
protected
function
getIndices
()
46
{
47
return
$this->
getManagerInstance
()->getIndices();
48
}
49
56
protected
function
applyFilters
($entities, $filteredEntityIds)
57
{
58
$result = [];
59
60
foreach
($entities as $key => $entity)
61
{
63
if
(in_array($key, $filteredEntityIds))
64
{
65
$this->
processAvailableRelations
($entity);
66
$result[] = $entity;
67
}
68
}
69
70
return
$result;
71
}
72
73
}
Bitrix\Report\VisualConstructor\AnalyticBoardBatch
Definition
analyticboardbatch.php:6
Bitrix\Report\VisualConstructor\AnalyticBoard
Definition
analyticboard.php:14
Bitrix\Report\VisualConstructor\Internal\Manager\AnalyticBoardManager
Definition
analyticboardmanager.php:8
Bitrix\Report\VisualConstructor\RuntimeProvider\AnalyticBoardProvider
Definition
analyticboardprovider.php:16
Bitrix\Report\VisualConstructor\RuntimeProvider\AnalyticBoardProvider\getIndices
getIndices()
Definition
analyticboardprovider.php:45
Bitrix\Report\VisualConstructor\RuntimeProvider\AnalyticBoardProvider\availableFilterKeys
availableFilterKeys()
Definition
analyticboardprovider.php:20
Bitrix\Report\VisualConstructor\RuntimeProvider\AnalyticBoardProvider\getEntitiesList
getEntitiesList()
Definition
analyticboardprovider.php:36
Bitrix\Report\VisualConstructor\RuntimeProvider\AnalyticBoardProvider\getManagerInstance
getManagerInstance()
Definition
analyticboardprovider.php:28
Bitrix\Report\VisualConstructor\RuntimeProvider\Base
Definition
base.php:14
Bitrix\Report\VisualConstructor\RuntimeProvider\Base\applyFilters
applyFilters($entities, $filteredEntityIds)
Definition
base.php:132
Bitrix\Report\VisualConstructor\RuntimeProvider\Base\processAvailableRelations
processAvailableRelations($entity)
Definition
base.php:221
Bitrix\Report\VisualConstructor\RuntimeProvider
Definition
analyticboardbatchprovider.php:2
modules
report
lib
visualconstructor
runtimeprovider
analyticboardprovider.php
Создано системой
1.10.0