Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
complexhtml.php
1
<?php
2
namespace
Bitrix\Report\VisualConstructor\Fields
;
3
9
class
ComplexHtml
extends
Html
10
{
11
const
JS_EVENT_ON_CLICK
=
'onClick'
;
12
20
public
function
__construct
($id, $contentHtml =
''
)
21
{
22
parent::__construct($contentHtml);
23
$this->
setId
(
'complex-html-wrapper-'
. $id);
24
$this->
addClass
(
'complex-html-wrapper'
);
25
}
26
27
33
public
function
printContent
()
34
{
35
$this->
includeFieldComponent
(
'complexhtml'
);
36
}
37
}
Bitrix\Report\VisualConstructor\Fields\Base\includeFieldComponent
includeFieldComponent($templateName, $params=array())
Definition
base.php:530
Bitrix\Report\VisualConstructor\Fields\Base\setId
setId($id)
Definition
base.php:282
Bitrix\Report\VisualConstructor\Fields\Base\addClass
addClass($class)
Definition
base.php:313
Bitrix\Report\VisualConstructor\Fields\ComplexHtml
Definition
complexhtml.php:10
Bitrix\Report\VisualConstructor\Fields\ComplexHtml\printContent
printContent()
Definition
complexhtml.php:33
Bitrix\Report\VisualConstructor\Fields\ComplexHtml\__construct
__construct($id, $contentHtml='')
Definition
complexhtml.php:20
Bitrix\Report\VisualConstructor\Fields\ComplexHtml\JS_EVENT_ON_CLICK
const JS_EVENT_ON_CLICK
Definition
complexhtml.php:11
Bitrix\Report\VisualConstructor\Fields\Html
Definition
html.php:10
Bitrix\Report\VisualConstructor\Fields
Definition
base.php:2
modules
report
lib
visualconstructor
fields
complexhtml.php
Создано системой
1.10.0