1 | <?php |
||
29 | class Semantic extends BaseGui { |
||
30 | |||
31 | public function __construct($autoCompile=true) { |
||
34 | |||
35 | /** |
||
36 | * |
||
37 | * @param string $attachTo |
||
38 | * @param string|array $params |
||
39 | * @return $this |
||
40 | */ |
||
41 | public function popup($attachTo=NULL, $params=NULL) { |
||
44 | |||
45 | public function dropdown($attachTo=NULL, $params=NULL) { |
||
48 | |||
49 | /** |
||
50 | * Return a new Semantic Html Button |
||
51 | * @param string $identifier |
||
52 | * @param string $value |
||
53 | * @param string $cssStyle |
||
54 | * @param string $onClick |
||
55 | * @return HtmlButton |
||
56 | */ |
||
57 | public function htmlButton($identifier, $value="", $cssStyle=null, $onClick=null) { |
||
60 | |||
61 | /** |
||
62 | * @param string $identifier |
||
63 | * @param string $icon |
||
64 | */ |
||
65 | public function htmlIcon($identifier,$icon){ |
||
68 | |||
69 | /** |
||
70 | * @param string $identifier |
||
71 | * @param string $size |
||
72 | * @param array $icons |
||
73 | */ |
||
74 | public function htmlIconGroups($identifier,$size="",$icons=array()){ |
||
87 | |||
88 | /** |
||
89 | * @param string $identifier |
||
90 | * @param array $elements |
||
91 | * @param boolean $asIcons |
||
92 | */ |
||
93 | public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){ |
||
96 | |||
97 | /** |
||
98 | * Creates an html container |
||
99 | * @param string $identifier |
||
100 | * @param string $content |
||
101 | */ |
||
102 | public function htmlContainer($identifier,$content=""){ |
||
105 | |||
106 | /** |
||
107 | * @param string $identifier |
||
108 | * @param string $content |
||
109 | */ |
||
110 | public function htmlDivider($identifier,$content="",$tagName="div"){ |
||
113 | |||
114 | /** |
||
115 | * @param string $identifier |
||
116 | * @param string $content |
||
117 | * @param string $tagName |
||
118 | */ |
||
119 | public function htmlLabel($identifier,$content="",$tagName="div"){ |
||
122 | |||
123 | /** |
||
124 | * @param string $identifier |
||
125 | * @param array $items |
||
126 | */ |
||
127 | public function htmlMenu($identifier,$items=array()){ |
||
130 | |||
131 | /**Adds an icon menu |
||
132 | * @param string $identifier |
||
133 | * @param array $items icons |
||
134 | */ |
||
135 | public function htmlIconMenu($identifier,$items=array()){ |
||
138 | |||
139 | /**Adds an labeled icon menu |
||
140 | * @param string $identifier |
||
141 | * @param array $items icons |
||
142 | */ |
||
143 | public function htmlLabeledIconMenu($identifier,$items=array()){ |
||
146 | |||
147 | /** |
||
148 | * @param string $identifier |
||
149 | * @param string $value |
||
150 | * @param array $items |
||
151 | */ |
||
152 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
155 | |||
156 | /** |
||
157 | * Adds a new message |
||
158 | * @param string $identifier |
||
159 | * @param string $content |
||
160 | */ |
||
161 | public function htmlMessage($identifier, $content=""){ |
||
164 | |||
165 | /** |
||
166 | * Adds a new segment, used to create a grouping of related content |
||
167 | * @param string $identifier |
||
168 | * @param string $content |
||
169 | */ |
||
170 | public function htmlSegment($identifier, $content=""){ |
||
173 | |||
174 | /** |
||
175 | * Adds a group of segments |
||
176 | * @param string $identifier |
||
177 | * @param array $items the segments |
||
178 | */ |
||
179 | public function htmlSegmentGroups($identifier, $items=array()){ |
||
182 | |||
183 | /** |
||
184 | * @param string $identifier |
||
185 | * @param mixed $content |
||
186 | */ |
||
187 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
190 | |||
191 | /** |
||
192 | * @param string $identifier |
||
193 | * @param int $numRows |
||
194 | * @param int $numCols |
||
195 | * @param boolean $createCols |
||
196 | * @param boolean $implicitRows |
||
197 | */ |
||
198 | public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
||
201 | |||
202 | /** |
||
203 | * @param string $identifier |
||
204 | * @param number $niveau |
||
205 | * @param mixed $content |
||
206 | * @param string $type |
||
207 | */ |
||
208 | public function htmlHeader($identifier,$niveau=1,$content=NULL,$type="page"){ |
||
211 | |||
212 | public function htmlInput($identifier,$value="",$type="text",$placeholder=""){ |
||
215 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.