Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
divparthtml.php
1
<?php
2
namespace
Bitrix\Report\VisualConstructor\Fields
;
3
8
class
DivPartHtml
extends
Html
9
{
10
private
$div;
11
16
public
function
addClass
($class)
17
{
18
$this->
getDiv
()->addClass($class);
19
$this->
setContent
($this->
getDiv
()->buildDivStart());
20
}
21
27
public
function
addInlineStyle
($key, $value)
28
{
29
$this->
getDiv
()->addInlineStyle($key, $value);
30
$this->
setContent
($this->
getDiv
()->buildDivStart());
31
}
32
36
public
function
getDiv
()
37
{
38
return
$this->div;
39
}
40
45
public
function
setDiv
(
Div
$div)
46
{
47
$this->div = $div;
48
}
49
50
}
Bitrix\Report\VisualConstructor\Fields\Div
Definition
div.php:8
Bitrix\Report\VisualConstructor\Fields\DivPartHtml
Definition
divparthtml.php:9
Bitrix\Report\VisualConstructor\Fields\DivPartHtml\getDiv
getDiv()
Definition
divparthtml.php:36
Bitrix\Report\VisualConstructor\Fields\DivPartHtml\addInlineStyle
addInlineStyle($key, $value)
Definition
divparthtml.php:27
Bitrix\Report\VisualConstructor\Fields\DivPartHtml\setDiv
setDiv(Div $div)
Definition
divparthtml.php:45
Bitrix\Report\VisualConstructor\Fields\DivPartHtml\addClass
addClass($class)
Definition
divparthtml.php:16
Bitrix\Report\VisualConstructor\Fields\Html
Definition
html.php:10
Bitrix\Report\VisualConstructor\Fields\Html\setContent
setContent($content)
Definition
html.php:44
Bitrix\Report\VisualConstructor\Fields
Definition
base.php:2
modules
report
lib
visualconstructor
fields
divparthtml.php
Создано системой
1.10.0