1 | <?php |
||
28 | class Semantic extends BaseGui { |
||
29 | |||
30 | public function __construct($autoCompile=true) { |
||
33 | |||
34 | /** |
||
35 | * |
||
36 | * @param string $attachTo |
||
37 | * @param string|array $params |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function popup($attachTo=NULL, $params=NULL) { |
||
43 | |||
44 | public function dropdown($attachTo=NULL, $params=NULL) { |
||
47 | |||
48 | /** |
||
49 | * Return a new Semantic Html Button |
||
50 | * @param string $identifier |
||
51 | * @param string $value |
||
52 | * @param string $cssStyle |
||
53 | * @param string $onClick |
||
54 | * @return HtmlButton |
||
55 | */ |
||
56 | public function htmlButton($identifier, $value="", $cssStyle=null, $onClick=null) { |
||
59 | |||
60 | /** |
||
61 | * @param string $identifier |
||
62 | * @param string $icon |
||
63 | */ |
||
64 | public function htmlIcon($identifier,$icon){ |
||
67 | |||
68 | /** |
||
69 | * @param string $identifier |
||
70 | * @param string $size |
||
71 | * @param array $icons |
||
72 | */ |
||
73 | public function htmlIconGroups($identifier,$size="",$icons=array()){ |
||
86 | |||
87 | /** |
||
88 | * @param string $identifier |
||
89 | * @param array $elements |
||
90 | * @param boolean $asIcons |
||
91 | */ |
||
92 | public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){ |
||
95 | |||
96 | /** |
||
97 | * Creates an html container |
||
98 | * @param string $identifier |
||
99 | * @param string $content |
||
100 | */ |
||
101 | public function htmlContainer($identifier,$content=""){ |
||
104 | |||
105 | /** |
||
106 | * @param string $identifier |
||
107 | * @param string $content |
||
108 | */ |
||
109 | public function htmlDivider($identifier,$content="",$tagName="div"){ |
||
112 | |||
113 | /** |
||
114 | * @param string $identifier |
||
115 | * @param string $content |
||
116 | * @param string $tagName |
||
117 | */ |
||
118 | public function htmlLabel($identifier,$content="",$tagName="div"){ |
||
121 | |||
122 | /** |
||
123 | * @param string $identifier |
||
124 | * @param array $items |
||
125 | */ |
||
126 | public function htmlMenu($identifier,$items=array()){ |
||
129 | |||
130 | /**Adds an icon menu |
||
131 | * @param string $identifier |
||
132 | * @param array $items icons |
||
133 | */ |
||
134 | public function htmlIconMenu($identifier,$items=array()){ |
||
137 | |||
138 | /**Adds an labeled icon menu |
||
139 | * @param string $identifier |
||
140 | * @param array $items icons |
||
141 | */ |
||
142 | public function htmlLabeledIconMenu($identifier,$items=array()){ |
||
145 | |||
146 | /** |
||
147 | * @param string $identifier |
||
148 | * @param string $value |
||
149 | * @param array $items |
||
150 | */ |
||
151 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
154 | |||
155 | /** |
||
156 | * Adds a new message |
||
157 | * @param string $identifier |
||
158 | * @param string $content |
||
159 | */ |
||
160 | public function htmlMessage($identifier, $content=""){ |
||
163 | |||
164 | /** |
||
165 | * Adds a new segment, used to create a grouping of related content |
||
166 | * @param string $identifier |
||
167 | * @param string $content |
||
168 | */ |
||
169 | public function htmlSegment($identifier, $content=""){ |
||
172 | |||
173 | /** |
||
174 | * Adds a group of segments |
||
175 | * @param string $identifier |
||
176 | * @param array $items the segments |
||
177 | */ |
||
178 | public function htmlSegmentGroups($identifier, $items=array()){ |
||
181 | |||
182 | /** |
||
183 | * @param string $identifier |
||
184 | * @param mixed $content |
||
185 | */ |
||
186 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
189 | |||
190 | /** |
||
191 | * @param string $identifier |
||
192 | * @param int $numRows |
||
193 | * @param int $numCols |
||
194 | * @param boolean $createCols |
||
195 | * @param boolean $implicitRows |
||
196 | */ |
||
197 | public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
||
200 | |||
201 | public function htmlHeader($identifier,$niveau=1,$content=NULL,$type="page"){ |
||
204 | } |