Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
analyticboardprovider.php
1<?php
2
4
8use Bitrix\Report\VisualConstructor\IProvidable;
9
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}
applyFilters($entities, $filteredEntityIds)
Definition base.php:132