Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
emptyreport.php
1<?php
2
4
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}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29
removeFormElement(BaseFormElement $element)
Definition base.php:340