phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
SemanticHtmlModulesTrait.php
Go to the documentation of this file.
1<?php
2
4
22
24
25 abstract public function addHtmlComponent(BaseHtml $htmlComponent);
26
35 public function htmlCheckbox($identifier, $label=NULL, $value=NULL, $type=NULL) {
36 return $this->addHtmlComponent(new HtmlCheckbox($identifier, $label, $value, $type));
37 }
38
47 public function htmlRadios($identifier, $items=[], $label=NULL,$value=NULL, $type=NULL) {
48 return $this->addHtmlComponent(HtmlFormFields::radios($identifier,$items,$label,$value,$type));
49 }
50
59 public function htmlRating($identifier, $value, $max, $icon="") {
60 return $this->addHtmlComponent(new HtmlRating($identifier, $value, $max, $icon));
61 }
62
70 public function htmlProgress($identifier, $value=0, $label=NULL) {
71 return $this->addHtmlComponent(new HtmlProgress($identifier, $value, $label));
72 }
73
80 public function htmlSearch($identifier, $placeholder=NULL, $icon=NULL) {
81 return $this->addHtmlComponent(new HtmlSearch($identifier, $placeholder, $icon));
82 }
83
90 public function htmlDimmer($identifier, $content=NULL) {
91 return $this->addHtmlComponent(new HtmlDimmer($identifier, $content));
92 }
93
94
103 public function htmlModal($identifier, $header="", $content="", $actions=array()) {
104 return $this->addHtmlComponent(new HtmlModal($identifier, $header,$content,$actions));
105 }
106
113 public function htmlTab($identifier, $tabs=array()) {
114 return $this->addHtmlComponent(new HtmlTab($identifier, $tabs));
115 }
116
123 public function htmlShape($identifier, $slides=array()) {
124 return $this->addHtmlComponent(new HtmlShape($identifier, $slides));
125 }
126
135 public function htmlDropdown($identifier, $value="", $items=array(),$associative=true) {
136 return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items,$associative));
137 }
138
145 public function htmlPopup(BaseHtml $container, $identifier, $content) {
146 return $this->addHtmlComponent(new HtmlPopup($container, $identifier, $content));
147 }
148
154 public function htmlAccordion($identifier) {
155 return $this->addHtmlComponent(new HtmlAccordion($identifier));
156 }
157
163 public function htmlAccordionMenu($identifier, $items=array()) {
164 return $this->addHtmlComponent(new HtmlAccordionMenu($identifier, $items));
165 }
166
167
174 public function htmlSticky($identifier, $content=array()) {
175 return $this->addHtmlComponent(new HtmlSticky($identifier, $content));
176 }
177
183 public function htmlSlider($identifier) {
184 return $this->addHtmlComponent(new HtmlSlider($identifier));
185 }
186}
BaseHtml for HTML components.
Definition BaseHtml.php:17
Ajax\semantic\html\modules$HtmlSlider This class is part of phpMv-ui.
Semantic Tab component.
Definition HtmlTab.php:19
htmlRadios($identifier, $items=[], $label=NULL, $value=NULL, $type=NULL)
htmlModal($identifier, $header="", $content="", $actions=array())
Returns a new semantic modal dialog.
htmlShape($identifier, $slides=array())
Returns a new Semantic Shape.
htmlRating($identifier, $value, $max, $icon="")
htmlAccordionMenu($identifier, $items=array())
Return a new Semantic Menu Accordion.
htmlCheckbox($identifier, $label=NULL, $value=NULL, $type=NULL)
Module checkbox.
htmlDropdown($identifier, $value="", $items=array(), $associative=true)
htmlAccordion($identifier)
Returns a new Semantic Accordion.
htmlSlider($identifier)
Returns a new Semantic Slider.
htmlSticky($identifier, $content=array())
Returns a new Semantic Sticky.
htmlTab($identifier, $tabs=array())
Returns a new Semantic Tab.
htmlPopup(BaseHtml $container, $identifier, $content)
htmlSearch($identifier, $placeholder=NULL, $icon=NULL)