1 | <?php |
||
25 | class Semantic extends BaseGui { |
||
26 | |||
27 | public function __construct($autoCompile=true) { |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * @param string $attachTo |
||
34 | * @param string|array $params |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function popup($attachTo=NULL, $params=NULL) { |
||
40 | |||
41 | public function dropdown($attachTo=NULL, $params=NULL) { |
||
44 | |||
45 | /** |
||
46 | * Return a new Semantic Html Button |
||
47 | * @param string $identifier |
||
48 | * @param string $value |
||
49 | * @param string $cssStyle |
||
50 | * @param string $onClick |
||
51 | * @return HtmlButton |
||
52 | */ |
||
53 | public function htmlButton($identifier, $value="", $cssStyle=null, $onClick=null) { |
||
56 | |||
57 | /** |
||
58 | * @param string $identifier |
||
59 | * @param string $icon |
||
60 | */ |
||
61 | public function htmlIcon($identifier,$icon){ |
||
64 | |||
65 | /** |
||
66 | * @param string $identifier |
||
67 | * @param string $size |
||
68 | * @param array $icons |
||
69 | */ |
||
70 | public function htmlIconGroups($identifier,$size="",$icons=array()){ |
||
83 | |||
84 | /** |
||
85 | * @param string $identifier |
||
86 | * @param array $elements |
||
87 | * @param boolean $asIcons |
||
88 | */ |
||
89 | public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){ |
||
92 | |||
93 | /** |
||
94 | * Creates an html container |
||
95 | * @param string $identifier |
||
96 | * @param string $content |
||
97 | */ |
||
98 | public function htmlContainer($identifier,$content=""){ |
||
101 | |||
102 | /** |
||
103 | * @param string $identifier |
||
104 | * @param string $content |
||
105 | */ |
||
106 | public function htmlDivider($identifier,$content="",$tagName="div"){ |
||
109 | |||
110 | /** |
||
111 | * @param string $identifier |
||
112 | * @param string $content |
||
113 | * @param string $tagName |
||
114 | */ |
||
115 | public function htmlLabel($identifier,$content="",$tagName="div"){ |
||
118 | |||
119 | /** |
||
120 | * @param string $identifier |
||
121 | * @param array $items |
||
122 | */ |
||
123 | public function htmlMenu($identifier,$items=array()){ |
||
126 | |||
127 | /** |
||
128 | * @param string $identifier |
||
129 | * @param string $value |
||
130 | * @param array $items |
||
131 | */ |
||
132 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
135 | |||
136 | /** |
||
137 | * Adds a new message |
||
138 | * @param string $identifier |
||
139 | * @param string $content |
||
140 | */ |
||
141 | public function htmlMessage($identifier, $content=""){ |
||
144 | |||
145 | /** |
||
146 | * Adds a new segment, used to create a grouping of related content |
||
147 | * @param string $identifier |
||
148 | * @param string $content |
||
149 | */ |
||
150 | public function htmlSegment($identifier, $content=""){ |
||
153 | |||
154 | /** |
||
155 | * Adds a group of segments |
||
156 | * @param string $identifier |
||
157 | * @param array $items the segments |
||
158 | */ |
||
159 | public function htmlSegmentGroups($identifier, $items=array()){ |
||
162 | |||
163 | /** |
||
164 | * @param string $identifier |
||
165 | * @param mixed $content |
||
166 | */ |
||
167 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
170 | } |