phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlContainer.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\html\elements
;
4
5
use
Ajax\semantic\html\base\HtmlSemDoubleElement
;
6
use
Ajax\semantic\html\base\traits\TextAlignmentTrait
;
14
class
HtmlContainer
extends
HtmlSemDoubleElement
,
TextAlignmentTrait
{
15
public
function
__construct
(
$identifier
,
$content
=
""
) {
16
parent::__construct(
$identifier
,
"div"
,
"ui container"
);
17
$this->content=
$content
;
18
}
19
20
public
function
asText
(){
21
return
$this->
addToProperty
(
"class"
,
"text"
);
22
}
23
}
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition
HtmlDoubleElement.php:14
Ajax\semantic\html\base\HtmlSemDoubleElement
Base class for Semantic double elements.
Definition
HtmlSemDoubleElement.php:23
Ajax\semantic\html\base\traits\BaseTrait\addToProperty
addToProperty($name, $value, $separator=" ")
Ajax\semantic\html\base\traits\TextAlignmentTrait
Definition
TextAlignmentTrait.php:7
Ajax\semantic\html\elements\HtmlContainer
Semantic UI container component.
Definition
HtmlContainer.php:14
Ajax\semantic\html\elements\HtmlContainer\asText
asText()
Definition
HtmlContainer.php:20
Ajax\semantic\html\elements\HtmlContainer\__construct
__construct($identifier, $content="")
Definition
HtmlContainer.php:15
Ajax\semantic\html\elements
Ajax
semantic
html
elements
HtmlContainer.php
Generated on Sun Dec 10 2023 16:16:07 for
phpMv-UI
by
doxygen
1.9.8