1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventhandler.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor;
4
5use Bitrix\Report\VisualConstructor\Handler\BaseWidget;
6use Bitrix\Report\VisualConstructor\Handler\EmptyReport;
7use Bitrix\Report\VisualConstructor\Views\Component\Grid;
8use Bitrix\Report\VisualConstructor\Views\Component\GroupedDataGrid;
9use Bitrix\Report\VisualConstructor\Views\JsComponent\Activity;
10use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\ColumnLogarithmic;
11use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\DonutDiagram;
12use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Funnel;
13use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\LinearGraph;
14use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\MultiDirectional;
15use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\PieDiagram;
16use \Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Column;
17use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\SmoothedGraph;
18use Bitrix\Report\VisualConstructor\Views\JsComponent\AmChart\Stack;
19use Bitrix\Report\VisualConstructor\Views\Component\Number;
20use Bitrix\Report\VisualConstructor\Views\Component\NumberBlock;
21
27{
28
32 public static function onWidgetCollect()
33 {
34 $widget = new BaseWidget();
35 $result[] = $widget;
36 return $result;
37 }
38
42 public static function onReportsCollect()
43 {
44 $emptyReportHandler = new EmptyReport();
45// $formula = new Formula();
46 $result[] = $emptyReportHandler;
47// $result[] = $formula;
48
49 return $result;
50 }
51
55 public static function onCategoriesCollect()
56 {
57 $main = new Category();
58 $main->setKey('main');
59 $main->setLabel('Main');
60
61 $categories[] = $main;
62 return $categories;
63 }
64
68 public static function onViewsCollect()
69 {
70
71 return array(
72 new PieDiagram(),
73 new DonutDiagram(),
74 new Column(),
76 new Stack(),
77 new LinearGraph(),
78 new SmoothedGraph(),
79 new Number(),
80 new NumberBlock(),
81 new Grid(),
82// new NumberBlockWithFormula(),
83 new Funnel(),
84 new MultiDirectional(),
85 new Activity(),
86 new GroupedDataGrid()
87 );
88 }
89
90}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14