phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlTabContent.php
Go to the documentation of this file.
1 <?php
2 
4 
5 
13 
14  public function __construct($identifier, $tagName="div") {
15  parent::__construct($identifier, $tagName);
16  $this->setProperty("class", "tab-content");
17  $this->content=array (); // HtmlTabContentItem
18  }
19 
20  public function addTabItem($identifier) {
21  $tabItem=new HtmlTabContentItem($identifier);
22  $this->content []=$tabItem;
23  }
24 
25  public function getTabItem($index) {
26  if ($index<sizeof($this->content))
27  return $this->content [$index];
28  }
29 
30  public function getTabItems() {
31  return $this->content;
32  }
33 }
Twitter Bootstrap HTML TabContent component.
Inner element for Twitter Bootstrap HTML Dropdown component.
__construct($identifier, $tagName="div")