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 
4 
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 }
addEventsOnRun(JsUtils $js=NULL)
Base class for Html collections.
__construct( $identifier, $tagName="div", $baseClass="")
semantic(Semantic $semantic=NULL)
getter or setter of the Semantic-UI variable
Definition: JsUtils.php:159
Base class for Semantic Html collections.
JQuery PHP library.
Definition: JsUtils.php:23