phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlSemCollection.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\html\base
;
4
5
use
Ajax\common\html\HtmlCollection
;
6
use
Ajax\semantic\html\base\traits\BaseTrait
;
7
use
Ajax\JsUtils
;
13
abstract
class
HtmlSemCollection
extends
HtmlCollection
{
14
use
BaseTrait
;
15
public
function
__construct
(
$identifier
,
$tagName
=
"div"
,$baseClass=
""
){
16
parent::__construct(
$identifier
,
$tagName
);
17
$this->_baseClass=$baseClass;
18
$this->
setClass
($baseClass);
19
}
20
21
public
function
run
(
JsUtils
$js) {
22
parent::run
($js);
23
$this->_bsComponent=$js->
semantic
()->generic(
"#"
.$this->identifier);
24
$this->
addEventsOnRun
($js);
25
return
$this->_bsComponent
;
26
}
27
}
Ajax\common\html\HtmlSingleElement\setClass
setClass($classNames)
Definition:
HtmlSingleElement.php:15
Ajax\common\html\BaseHtml\$_bsComponent
$_bsComponent
Definition:
BaseHtml.php:28
Ajax\semantic\html\base\HtmlSemCollection\run
run(JsUtils $js)
Definition:
HtmlSemCollection.php:21
Ajax\semantic\html\base\traits\run
run(JsUtils $js)
Definition:
HasTimeoutTrait.php:20
HtmlCollection
Ajax\common\html\traits\addEventsOnRun
addEventsOnRun(JsUtils $js=NULL)
Definition:
BaseHtmlEventsTrait.php:91
Ajax\common\html\HtmlCollection
Base class for Html collections.
Definition:
HtmlCollection.php:15
Ajax\semantic\html\base\HtmlSemCollection\__construct
__construct( $identifier, $tagName="div", $baseClass="")
Definition:
HtmlSemCollection.php:15
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition:
BaseWidget.php:14
Ajax\JsUtils\semantic
semantic(Semantic $semantic=NULL)
getter or setter of the Semantic-UI variable
Definition:
JsUtils.php:159
Ajax\semantic\html\base\HtmlSemCollection
Base class for Semantic Html collections.
Definition:
HtmlSemCollection.php:13
Ajax\common\html\BaseHtml\$tagName
$tagName
Definition:
BaseHtml.php:22
Ajax\JsUtils
JQuery PHP library.
Definition:
JsUtils.php:23
Ajax\semantic\html\base
Definition:
ClassModifier.php:3
Ajax\semantic\html\base\traits\BaseTrait
trait BaseTrait
Definition:
BaseTrait.php:17
JsUtils
Ajax
semantic
html
base
HtmlSemCollection.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13