1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
formula.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\Handler;
4
5
use Bitrix\Main\Localization\Loc;
6
use Bitrix\Report\VisualConstructor\IReportSingleData;
7
13
class
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
}
Bitrix\Report\VisualConstructor\Handler\BaseReport
Определения
basereport.php:29
Bitrix\Report\VisualConstructor\Handler\BaseReport\getCalculatedData
getCalculatedData()
Определения
basereport.php:301
Bitrix\Report\VisualConstructor\Handler\BaseReport\setTitle
setTitle($title)
Определения
basereport.php:258
Bitrix\Report\VisualConstructor\Handler\Formula
Определения
formula.php:14
Bitrix\Report\VisualConstructor\Handler\Formula\__construct
__construct()
Определения
formula.php:18
Bitrix\Report\VisualConstructor\Handler\Formula\prepare
prepare()
Определения
formula.php:29
Bitrix\Report\VisualConstructor\Handler\Formula\getSingleDemoData
getSingleDemoData()
Определения
formula.php:57
Bitrix\Report\VisualConstructor\Handler\Formula\getSingleData
getSingleData()
Определения
formula.php:43
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Report\VisualConstructor\IReportSingleData
Определения
ireportsingledata.php:10
bitrix
modules
report
lib
visualconstructor
handler
formula.php
Создано системой
1.14.0