File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/report/lib/visualconstructor/runtimeprovider/analyticboardprovider.php
Back
<?php namespace Bitrix\Report\VisualConstructor\RuntimeProvider; use Bitrix\Report\VisualConstructor\AnalyticBoard; use Bitrix\Report\VisualConstructor\AnalyticBoardBatch; use Bitrix\Report\VisualConstructor\Internal\Manager\AnalyticBoardManager; use Bitrix\Report\VisualConstructor\IProvidable; /** * Class AnalyticBoardProvider * @package Bitrix\Report\VisualConstructor\RuntimeProvider * @method AnalyticBoard|null getFirstResult() */ class AnalyticBoardProvider extends Base { /** * @return array */ protected function availableFilterKeys() { return ['primary', 'boardKey', 'boardBatchKey', 'group']; } /** * @return AnalyticBoardManager */ protected function getManagerInstance() { return AnalyticBoardManager::getInstance(); } /** * @return AnalyticBoard[] */ protected function getEntitiesList() { return $this->getManagerInstance()->getAnalyticBoardsList(); } /** * @return mixed * */ protected function getIndices() { return $this->getManagerInstance()->getIndices(); } /** * @param array $entities * @param array $filteredEntityIds * * @return array */ protected function applyFilters($entities, $filteredEntityIds) { $result = []; foreach ($entities as $key => $entity) { /** @var \Bitrix\Report\VisualConstructor\AnalyticBoard $entity */ if (in_array($key, $filteredEntityIds)) { $this->processAvailableRelations($entity); $result[] = $entity; } } return $result; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings