1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
formula.php
См. документацию.
1<?php
2
3namespace Bitrix\Report\VisualConstructor\Handler;
4
5use Bitrix\Main\Localization\Loc;
6use Bitrix\Report\VisualConstructor\IReportSingleData;
7
13class Formula extends BaseReport implements IReportSingleData
14{
18 public function __construct()
19 {
20 parent::__construct();
21 $this->setTitle(Loc::getMessage('FORMULA_REPORT_HANDLER_TILE'));
22
23 }
24
29 public function prepare()
30 {
31 return 'temp data';
32 }
33
43 public function getSingleData()
44 {
45 return array(
46 'title' => $this->getFormElement('label')->getValue(),
47 'value' => $this->getCalculatedData(),
48 'config' => array(
49 'color' => $this->getFormElement('color')->getValue()
50 )
51 );
52 }
53
57 public function getSingleDemoData()
58 {
59 return array(
60 'value' => 7
61 );
62 }
63}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804