phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlItems.php
Go to the documentation of this file.
1 <?php
2 
4 
5 
8 
14 class HtmlItems extends HtmlViewGroups {
15 
16  public function __construct($identifier, $items=[]) {
17  parent::__construct($identifier, "ui items",$items);
18  }
19 
20  protected function createElement(){
21  return new HtmlItem("item-" . $this->count());
22  }
23 
24  public function newItem($identifier) {
25  return new HtmlItem($identifier);
26  }
27 }
__construct($identifier, $items=[])
Definition: HtmlItems.php:16
Semantic html item use in Items component.
Definition: HtmlItem.php:10
Semantic html Items component.
Definition: HtmlItems.php:14