phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
SemanticComponentsTrait.php
Go to the documentation of this file.
1<?php
2
4
23
29
36 abstract public function addComponent(SimpleComponent $component, $attachTo, $params);
37
44 public function generic($attachTo=NULL, $params=NULL) {
45 return $this->addComponent(new GenericComponent($this->js), $attachTo, $params);
46 }
47
54 public function popup($attachTo=NULL, $params=NULL) {
55 return $this->addComponent(new Popup($this->js), $attachTo, $params);
56 }
57
64 public function dropdown($attachTo=NULL, $params=NULL) {
65 return $this->addComponent(new Dropdown($this->js), $attachTo, $params);
66 }
67
74 public function accordion($attachTo=NULL, $params=NULL) {
75 return $this->addComponent(new Accordion($this->js), $attachTo, $params);
76 }
77
83 public function sticky($attachTo=NULL, $params=NULL) {
84 return $this->addComponent(new Sticky($this->js), $attachTo, $params);
85 }
86
92 public function checkbox($attachTo=NULL, $params=NULL) {
93 return $this->addComponent(new Checkbox($this->js), $attachTo, $params);
94 }
95
101 public function rating($attachTo=NULL, $params=NULL) {
102 return $this->addComponent(new Rating($this->js), $attachTo, $params);
103 }
104
110 public function progress($attachTo=NULL, $params=NULL) {
111 return $this->addComponent(new Progress($this->js), $attachTo, $params);
112 }
113
119 public function search($attachTo=NULL, $params=NULL) {
120 return $this->addComponent(new Search($this->js), $attachTo, $params);
121 }
122
128 public function dimmer($attachTo=NULL, $params=NULL) {
129 return $this->addComponent(new Dimmer($this->js), $attachTo, $params);
130 }
131
137 public function modal($attachTo=NULL, $params=NULL,$paramsParts=NULL) {
138 $result= $this->addComponent(new Modal($this->js), $attachTo, $params);
139 $result->setParamParts($paramsParts);
140 return $result;
141 }
142
148 public function tab($attachTo=NULL, $params=NULL) {
149 $result= $this->addComponent(new Tab($this->js), $attachTo, $params);
150 return $result;
151 }
152
158 public function shape($attachTo=NULL, $params=NULL) {
159 $result= $this->addComponent(new Shape($this->js), $attachTo, $params);
160 return $result;
161 }
162
168 public function form($attachTo=NULL, $params=NULL) {
169 $result= $this->addComponent(new Form($this->js), $attachTo, $params);
170 return $result;
171 }
172
178 public function toast($attachTo=NULL, $params=NULL) {
179 $result= $this->addComponent(new Toast($this->js), $attachTo, $params);
180 return $result;
181 }
182
188 public function slider($attachTo=NULL, $params=NULL) {
189 $result= $this->addComponent(new Slider($this->js), $attachTo, $params);
190 return $result;
191 }
192
193}
Base component for JQuery UI visuals components.
Ajax\semantic\components$Modal This class is part of Ubiquity.
Definition Modal.php:14
Ajax\semantic\components$Slider This class is part of phpMv-ui.
Definition Slider.php:16
Ajax\semantic\components$Toast This class is part of phpMv-ui.
Definition Toast.php:15
addComponent(SimpleComponent $component, $attachTo, $params)
modal($attachTo=NULL, $params=NULL, $paramsParts=NULL)