Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
base.php
1
<?php
2
3
namespace
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4
;
4
5
use
Bitrix\Main\Localization\Loc
;
6
use
Bitrix\Report\VisualConstructor\Handler\BaseWidget
;
7
8
13
abstract
class
Base
extends
\Bitrix\Report\VisualConstructor\Views\JsComponent\Base
14
{
18
public
function
__construct
()
19
{
20
$this->
setHeight
(380);
21
$this->
setJsClassName
(
'BX.Report.VisualConstructor.Widget.Content.AmCharts4'
);
22
}
23
30
public
function
handlerFinallyBeforePassToView
($data)
31
{
32
return
$result = array(
33
'type'
=> $this->
getAmChartType
(),
34
'theme'
=>
'none'
,
35
);
36
}
37
44
public
function
collectWidgetHandlerFormElements
(
BaseWidget
$widgetHandler)
45
{
46
parent::collectWidgetHandlerFormElements($widgetHandler);
47
$widgetHandler->getFormElement(
'color'
)->
setDisplay
(
false
);
48
}
49
55
abstract
protected
function
getAmChartType
();
56
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Report\VisualConstructor\Fields\Base\setDisplay
setDisplay($display)
Definition
base.php:518
Bitrix\Report\VisualConstructor\Handler\BaseWidget
Definition
basewidget.php:16
Bitrix\Report\VisualConstructor\View\setJsClassName
setJsClassName($jsClassName)
Definition
view.php:383
Bitrix\Report\VisualConstructor\View\setHeight
setHeight($height)
Definition
view.php:56
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4\Base
Definition
base.php:14
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4\Base\__construct
__construct()
Definition
base.php:18
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4\Base\getAmChartType
getAmChartType()
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4\Base\handlerFinallyBeforePassToView
handlerFinallyBeforePassToView($data)
Definition
base.php:30
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4\Base\collectWidgetHandlerFormElements
collectWidgetHandlerFormElements(BaseWidget $widgetHandler)
Definition
base.php:44
Bitrix\Report\VisualConstructor\Views\JsComponent\Base
Definition
base.php:14
Bitrix\Report\VisualConstructor\Views\JsComponent\AmCharts4
Definition
base.php:3
modules
report
lib
visualconstructor
views
jscomponent
amcharts4
base.php
Создано системой
1.10.0