phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Bootstrap.php
Go to the documentation of this file.
1<?php
2
3namespace Ajax;
4
26
28 public function __construct($autoCompile=true) {
29 parent::__construct($autoCompile);
30 }
31
32
41 public function htmlButton($identifier, $value="", $cssStyle=null, $onClick=null) {
42 return $this->addHtmlComponent(new HtmlButton($identifier, $value, $cssStyle, $onClick));
43 }
44
54 public function htmlGlyphButton($identifier, $glyphIcon=0, $value="", $cssStyle=NULL, $onClick=NULL) {
55 return $this->addHtmlComponent(new HtmlGlyphButton($identifier, $glyphIcon, $value, $cssStyle, $onClick));
56 }
57
66 public function htmlButtongroups($identifier, $values=array(), $cssStyle=NULL, $size=NULL) {
67 return $this->addHtmlComponent(new HtmlButtongroups($identifier, $values, $cssStyle, $size));
68 }
69
78 public function htmlDropdown($identifier, $value="", $items=array(), $cssStyle=NULL, $size=NULL) {
79 return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items, $cssStyle, $size));
80 }
81
90 public function htmlButtontoolbar($identifier, $elements=array(), $cssStyle=NULL, $size=NULL) {
91 return $this->addHtmlComponent(new HtmlButtontoolbar($identifier, $elements, $cssStyle, $size));
92 }
93
101 public function htmlNavbar($identifier, $brand="Brand", $brandHref="#") {
102 return $this->addHtmlComponent(new HtmlNavbar($identifier, $brand, $brandHref));
103 }
104
113 public function htmlProgressbar($identifier, $style="info", $value=0, $max=100, $min=0) {
114 return $this->addHtmlComponent(new HtmlProgressbar($identifier, $style, $value, $max, $min));
115 }
116
125 public function htmlPanel($identifier, $content=NULL, $header=NULL, $footer=NULL) {
126 return $this->addHtmlComponent(new HtmlPanel($identifier, $content, $header, $footer));
127 }
128
136 public function htmlAlert($identifier, $message=NULL, $cssStyle="alert-warning") {
137 return $this->addHtmlComponent(new HtmlAlert($identifier, $message, $cssStyle));
138 }
139
145 public function htmlAccordion($identifier) {
146 return $this->addHtmlComponent(new HtmlAccordion($identifier));
147 }
148
155 public function htmlCarousel($identifier, $images=NULL) {
156 return $this->addHtmlComponent(new HtmlCarousel($identifier, $images));
157 }
158
164 public function htmlTabs($identifier) {
165 return $this->addHtmlComponent(new HtmlTabs($identifier));
166 }
174 public function htmlListgroup($identifier,$items=array(),$tagName="ul"){
175 $listGroup=new HtmlListgroup($identifier,$tagName);
176 $listGroup->addItems($items);
177 return $this->addHtmlComponent($listGroup);
178 }
187 public function htmlModal($identifier, $title="", $content="", $buttonCaptions=array()) {
188 return $this->addHtmlComponent(new HtmlModal($identifier, $title, $content, $buttonCaptions));
189 }
190
200 public function htmlSplitbutton($identifier,$value="", $items=array(), $cssStyle="btn-default", $onClick=NULL) {
201 return $this->addHtmlComponent(new HtmlSplitbutton($identifier, $value, $items, $cssStyle,$onClick));
202 }
203
209 public function htmlInputgroup($identifier){
210 return $this->addHtmlComponent(new HtmlInputgroup($identifier));
211 }
212
221 public function htmlBreadcrumbs($identifier,$elements=array(),$autoActive=true,$startIndex=0,$hrefFunction=NULL){
222 return $this->addHtmlComponent(new HtmlBreadcrumbs($identifier,$elements,$autoActive,$startIndex,$hrefFunction));
223 }
224
234 public function htmlPagination($identifier,$from=1,$to=1,$active=NULL,$countVisible=NULL){
235 return $this->addHtmlComponent(new HtmlPagination($identifier,$from,$to,$active,$countVisible));
236 }
237
246 public function htmlGridSystem($identifier,$numRows=1,$numCols=NULL){
247 return $this->addHtmlComponent(new HtmlGridSystem($identifier,$numRows,$numCols));
248 }
249}
htmlInputgroup($identifier)
Return a new Bootstrap Html InputGroup.
htmlGlyphButton($identifier, $glyphIcon=0, $value="", $cssStyle=NULL, $onClick=NULL)
Return a new Bootstrap Html Glyphbutton.
Definition Bootstrap.php:54
htmlPanel($identifier, $content=NULL, $header=NULL, $footer=NULL)
Return a new Bootstrap Html Panel.
htmlDropdown($identifier, $value="", $items=array(), $cssStyle=NULL, $size=NULL)
Return a new Bootstrap Html Dropdown.
Definition Bootstrap.php:78
htmlButtontoolbar($identifier, $elements=array(), $cssStyle=NULL, $size=NULL)
Return a new Bootstrap Html Dropdown.
Definition Bootstrap.php:90
htmlSplitbutton($identifier, $value="", $items=array(), $cssStyle="btn-default", $onClick=NULL)
Return a new Bootstrap Html SplitButton.
htmlButton($identifier, $value="", $cssStyle=null, $onClick=null)
Return a new Bootstrap Html Button.
Definition Bootstrap.php:41
htmlNavbar($identifier, $brand="Brand", $brandHref="#")
Return a new Bootstrap Html Navbar.
htmlListgroup($identifier, $items=array(), $tagName="ul")
Return a new Bootstrap Html listGroup.
htmlProgressbar($identifier, $style="info", $value=0, $max=100, $min=0)
Return a new Bootstrap Html Progressbar.
htmlGridSystem($identifier, $numRows=1, $numCols=NULL)
Return a new Bootstrap Html Grid system.
htmlAlert($identifier, $message=NULL, $cssStyle="alert-warning")
Return a new Bootstrap Html Alert.
htmlModal($identifier, $title="", $content="", $buttonCaptions=array())
Return a new Bootstrap Html modal dialog.
htmlTabs($identifier)
Return a new Bootstrap Html tabs.
htmlCarousel($identifier, $images=NULL)
Return a new Bootstrap Html Carousel.
htmlBreadcrumbs($identifier, $elements=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL)
Return a new Bootstrap Html Breadcrumbs.
htmlAccordion($identifier)
Return a new Bootstrap Accordion.
__construct($autoCompile=true)
Definition Bootstrap.php:28
htmlPagination($identifier, $from=1, $to=1, $active=NULL, $countVisible=NULL)
Return a new Bootstrap Html Pagination.
htmlButtongroups($identifier, $values=array(), $cssStyle=NULL, $size=NULL)
Return a new Bootstrap Html Buttongroups.
Definition Bootstrap.php:66
Composant Twitter Bootstrap Accordion.
Twitter Bootstrap Alert component.
Definition HtmlAlert.php:16
Twitter Bootstrap Breadcrumbs component.
Twitter Bootstrap Button component.
Twitter Bootstrap Buttongroups component.
Twitter Bootstrap HTML Button toolbar.
Twitter Bootstrap HTML Dropdown component.
Twitter Bootstrap Button component with a Glyph icon.
Composant Twitter Bootstrap Grid system.
Twitter Bootstrap HTML Inputgroup component.
Composant Twitter Bootstrap Listgroup.
Twitter Bootstrap HTML Modal component.
Definition HtmlModal.php:14
Twitter Bootstrap HTML Navbar component.
Twitter Bootstrap Pagination component.
Composant Twitter Bootstrap panel.
Definition HtmlPanel.php:16
Twitter Bootstrap HTML Splitbutton component.
BaseGui Phalcon library.
Definition BaseGui.php:18