1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
emptyreport.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Handler;
4
5use Bitrix\Main\Localization\Loc;
6use Bitrix\Report\VisualConstructor\IReportMultipleBiGroupedData;
7use Bitrix\Report\VisualConstructor\IReportMultipleData;
8use Bitrix\Report\VisualConstructor\IReportMultipleGroupedData;
9use Bitrix\Report\VisualConstructor\IReportSingleData;
10
16{
17
21 public function __construct()
22 {
23 parent::__construct();
24 $this->setTitle(Loc::getMessage('EMPTY_REPORT_HANDLER'));
25 }
26
32 public function collectFormElements()
33 {
34 parent::collectFormElements();
35 $groupingField = $this->getFormElement('groupingBy');
36 if ($groupingField)
37 {
38 $this->removeFormElement($groupingField);
39 }
40
41 $calculateField = $this->getFormElement('calculate');
42 if ($calculateField)
43 {
44 $this->removeFormElement($calculateField);
45 }
46
47
48 }
49
95 public function getMultipleBiGroupedData()
96 {
97 return array();
98 }
99
104 {
105 return array();
106 }
107
121 public function getMultipleData()
122 {
123 return array();
124 }
125
129 public function getMultipleDemoData()
130 {
131 return array();
132 }
133
161 public function getMultipleGroupedData()
162 {
163 return array();
164 }
165
170 {
171 return array();
172 }
173
177 public function getSingleDemoData()
178 {
179 return array();
180 }
181
182
186 public function getSingleData()
187 {
188 $data = array();
189 $colorFieldValue = $this->getFormElement('color');
190
191 $data['title'] = $this->getFormElement('label')->getValue();
192 $data['config']['color'] = $colorFieldValue ? $colorFieldValue->getValue() : '#ffffff';
193 return $data;
194 }
195
202 public function prepare()
203 {
204 return null;
205 }
206}
$data['IS_AVAILABLE']
Определения .description.php:13
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804