phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
SemanticHtmlCollectionsTrait.php
Go to the documentation of this file.
1<?php
3
13
14
16
17 abstract public function addHtmlComponent(BaseHtml $htmlComponent);
18
25 public function htmlTable($identifier, $rowCount, $colCount){
26 return $this->addHtmlComponent(new HtmlTable($identifier, $rowCount, $colCount));
27 }
28
36 public function htmlMessage($identifier, $content="",$styles=NULL) {
37 $msg= $this->addHtmlComponent(new HtmlMessage($identifier, $content));
38 if(isset($msg) && $styles!==null)
39 $msg->setStyle($styles);
40 return $msg;
41 }
42
49 public function htmlMenu($identifier, $items=array()) {
50 return $this->addHtmlComponent(new HtmlMenu($identifier, $items));
51 }
52
58 public function htmlIconMenu($identifier, $items=array()) {
59 return $this->addHtmlComponent(new HtmlIconMenu($identifier, $items));
60 }
61
67 public function htmlLabeledIconMenu($identifier, $items=array()) {
68 return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier, $items));
69 }
70
79 public function htmlBreadcrumb($identifier, $items=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL) {
80 return $this->addHtmlComponent(new HtmlBreadcrumb($identifier, $items, $autoActive, $startIndex, $hrefFunction));
81 }
82
83
90 public function htmlForm($identifier, $elements=array()) {
91 return $this->addHtmlComponent(new HtmlForm($identifier, $elements));
92 }
93
103 public function htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) {
104 return $this->addHtmlComponent(new HtmlGrid($identifier, $numRows, $numCols, $createCols, $implicitRows));
105 }
106}
BaseHtml for HTML components.
Definition BaseHtml.php:17
Semantic UI Breadcrumb component.
Semantic Menu component with only icons.
Semantic Menu component with only labeled icons.
htmlIconMenu($identifier, $items=array())
Adds an icon menu.
htmlBreadcrumb($identifier, $items=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL)
Returns a new Semantic Html Breadcrumb.
htmlForm($identifier, $elements=array())
Returns a new Semantic Form.
htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false)
htmlMessage($identifier, $content="", $styles=NULL)
Adds a new message.
htmlLabeledIconMenu($identifier, $items=array())
Adds an labeled icon menu.