1 | <?php |
||
32 | class Semantic extends BaseGui { |
||
33 | |||
34 | public function __construct($autoCompile=true) { |
||
37 | |||
38 | /** |
||
39 | * |
||
40 | * @param string $attachTo |
||
41 | * @param string|array $params |
||
42 | * @return $this |
||
43 | */ |
||
44 | public function generic($attachTo=NULL, $params=NULL) { |
||
47 | /** |
||
48 | * |
||
49 | * @param string $attachTo |
||
50 | * @param string|array $params |
||
51 | * @return $this |
||
52 | */ |
||
53 | public function popup($attachTo=NULL, $params=NULL) { |
||
56 | |||
57 | public function dropdown($attachTo=NULL, $params=NULL) { |
||
60 | |||
61 | /** |
||
62 | * Return a new Semantic Html Button |
||
63 | * @param string $identifier |
||
64 | * @param string $value |
||
65 | * @param string $cssStyle |
||
66 | * @param string $onClick |
||
67 | * @return HtmlButton |
||
68 | */ |
||
69 | public function htmlButton($identifier, $value="", $cssStyle=null, $onClick=null) { |
||
72 | |||
73 | /** |
||
74 | * @param string $identifier |
||
75 | * @param string $icon |
||
76 | */ |
||
77 | public function htmlIcon($identifier,$icon){ |
||
80 | |||
81 | /** |
||
82 | * @param string $identifier |
||
83 | * @param string $size |
||
84 | * @param array $icons |
||
85 | */ |
||
86 | public function htmlIconGroups($identifier,$size="",$icons=array()){ |
||
99 | |||
100 | /** |
||
101 | * @param string $identifier |
||
102 | * @param array $elements |
||
103 | * @param boolean $asIcons |
||
104 | */ |
||
105 | public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){ |
||
108 | |||
109 | /** |
||
110 | * Creates an html container |
||
111 | * @param string $identifier |
||
112 | * @param string $content |
||
113 | */ |
||
114 | public function htmlContainer($identifier,$content=""){ |
||
117 | |||
118 | /** |
||
119 | * @param string $identifier |
||
120 | * @param string $content |
||
121 | */ |
||
122 | public function htmlDivider($identifier,$content="",$tagName="div"){ |
||
125 | |||
126 | /** |
||
127 | * @param string $identifier |
||
128 | * @param string $content |
||
129 | * @param string $tagName |
||
130 | */ |
||
131 | public function htmlLabel($identifier,$content="",$tagName="div"){ |
||
134 | |||
135 | /** |
||
136 | * @param string $identifier |
||
137 | * @param array $items |
||
138 | * @return Ajax\semantic\html\collections\HtmlMenu |
||
139 | */ |
||
140 | public function htmlMenu($identifier,$items=array()){ |
||
143 | |||
144 | /**Adds an icon menu |
||
145 | * @param string $identifier |
||
146 | * @param array $items icons |
||
147 | */ |
||
148 | public function htmlIconMenu($identifier,$items=array()){ |
||
151 | |||
152 | /**Adds an labeled icon menu |
||
153 | * @param string $identifier |
||
154 | * @param array $items icons |
||
155 | */ |
||
156 | public function htmlLabeledIconMenu($identifier,$items=array()){ |
||
159 | |||
160 | /** |
||
161 | * @param string $identifier |
||
162 | * @param string $value |
||
163 | * @param array $items |
||
164 | */ |
||
165 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
168 | |||
169 | /** |
||
170 | * Adds a new message |
||
171 | * @param string $identifier |
||
172 | * @param string $content |
||
173 | */ |
||
174 | public function htmlMessage($identifier, $content=""){ |
||
177 | |||
178 | /** |
||
179 | * Adds a new segment, used to create a grouping of related content |
||
180 | * @param string $identifier |
||
181 | * @param string $content |
||
182 | */ |
||
183 | public function htmlSegment($identifier, $content=""){ |
||
186 | |||
187 | /** |
||
188 | * Adds a group of segments |
||
189 | * @param string $identifier |
||
190 | * @param array $items the segments |
||
191 | */ |
||
192 | public function htmlSegmentGroups($identifier, $items=array()){ |
||
195 | |||
196 | /** |
||
197 | * @param string $identifier |
||
198 | * @param mixed $content |
||
199 | */ |
||
200 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
203 | |||
204 | /** |
||
205 | * @param string $identifier |
||
206 | * @param int $numRows |
||
207 | * @param int $numCols |
||
208 | * @param boolean $createCols |
||
209 | * @param boolean $implicitRows |
||
210 | */ |
||
211 | public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
||
214 | |||
215 | /** |
||
216 | * @param string $identifier |
||
217 | * @param number $niveau |
||
218 | * @param mixed $content |
||
219 | * @param string $type |
||
220 | */ |
||
221 | public function htmlHeader($identifier,$niveau=1,$content=NULL,$type="page"){ |
||
224 | |||
225 | public function htmlInput($identifier,$type="text",$value="",$placeholder=""){ |
||
228 | |||
229 | public function htmlList($identifier,$items=array()){ |
||
232 | |||
233 | public function htmlBreadcrumb( $identifier,$items=array(),$autoActive=true,$startIndex=0,$hrefFunction=NULL){ |
||
236 | } |