1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
viewmanager.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Internal\Manager;
4
5use Bitrix\Report\VisualConstructor\Config\Common;
6use Bitrix\Report\VisualConstructor\View;
7
12class 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}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804