phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
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\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition
HtmlDoubleElement.php:14
Ajax\common\html\traits\BaseHtmlPropertiesTrait\removePropertyValue
removePropertyValue($name, $value)
Definition
BaseHtmlPropertiesTrait.php:68
Ajax\semantic\html\base\HtmlSemDoubleElement
Base class for Semantic double elements.
Definition
HtmlSemDoubleElement.php:23
Ajax\semantic\html\base\traits\BaseTrait\addToPropertyCtrl
addToPropertyCtrl($name, $value, $typeCtrl)
Ajax\semantic\html\content\HtmlShapeItem
Definition
HtmlShapeItem.php:6
Ajax\semantic\html\content\HtmlShapeItem\setActive
setActive($value=true)
show it is currently the active user selection
Definition
HtmlShapeItem.php:11
Ajax\semantic\html\content\HtmlShapeItem\__construct
__construct($identifier, $content)
Definition
HtmlShapeItem.php:7
Ajax\semantic\html\content
Definition
HtmlAbsractItem.php:3
Ajax
semantic
html
content
HtmlShapeItem.php
Generated on Sun Dec 10 2023 16:16:06 for
phpMv-UI
by
doxygen
1.9.8