phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlShapeItem.php
Go to the documentation of this file.
1
<?php
2
namespace
Ajax\semantic\html\content
;
3
4
use
Ajax\semantic\html\base\HtmlSemDoubleElement
;
5
6
class
HtmlShapeItem
extends
HtmlSemDoubleElement
{
7
public
function
__construct
(
$identifier
,
$content
) {
8
parent::__construct(
$identifier
,
"div"
,
"side"
,
$content
);
9
}
10
11
public
function
setActive
($value=
true
){
12
if
($value){
13
$this->
addToPropertyCtrl
(
"class"
,
"active"
, [
"active"
]);
14
}
else
{
15
$this->
removePropertyValue
(
"class"
,
"active"
);
16
}
17
return
$this;
18
}
19
}
Ajax\semantic\html\content\HtmlShapeItem
Definition:
HtmlShapeItem.php:6
Ajax\common\html\traits\removePropertyValue
removePropertyValue($name, $value)
Definition:
BaseHtmlPropertiesTrait.php:68
HtmlSemDoubleElement
Ajax\semantic\html\content
Definition:
HtmlAbsractItem.php:3
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition:
BaseWidget.php:14
Ajax\semantic\html\base\HtmlSemDoubleElement
Base class for Semantic double elements.
Definition:
HtmlSemDoubleElement.php:23
Ajax\semantic\html\content\HtmlShapeItem\__construct
__construct($identifier, $content)
Definition:
HtmlShapeItem.php:7
Ajax\common\html\traits\addToPropertyCtrl
addToPropertyCtrl($name, $value, $typeCtrl)
Definition:
BaseHtmlPropertiesTrait.php:87
Ajax\semantic\html\content\HtmlShapeItem\setActive
setActive($value=true)
Definition:
HtmlShapeItem.php:11
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition:
HtmlDoubleElement.php:14
Ajax
semantic
html
content
HtmlShapeItem.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13