1 | <?php |
||
11 | trait SemanticHtmlCollectionsTrait { |
||
12 | |||
13 | public abstract function addHtmlComponent($htmlComponent); |
||
14 | |||
15 | /** |
||
16 | * @param string $identifier |
||
17 | * @param int $rowCount |
||
18 | * @param int $colCount |
||
19 | * @return HtmlTable |
||
20 | */ |
||
21 | public function htmlTable($identifier, $rowCount, $colCount){ |
||
24 | |||
25 | /** |
||
26 | * Adds a new message |
||
27 | * @param string $identifier |
||
28 | * @param string $content |
||
29 | * @param $styles string|array|NULL |
||
30 | * @return HtmlMessage |
||
31 | */ |
||
32 | public function htmlMessage($identifier, $content="",$styles=NULL) { |
||
38 | |||
39 | /** |
||
40 | * |
||
41 | * @param string $identifier |
||
42 | * @param array $items |
||
43 | * @return Ajax\semantic\html\collections\HtmlMenu |
||
44 | */ |
||
45 | public function htmlMenu($identifier, $items=array()) { |
||
48 | |||
49 | |||
50 | /** |
||
51 | * Returns a new Semantic Form |
||
52 | * @param string $identifier |
||
53 | * @param array $elements |
||
54 | * @return HtmlForm |
||
55 | */ |
||
56 | public function htmlForm($identifier, $elements=array()) { |
||
59 | |||
60 | /** |
||
61 | * |
||
62 | * @param string $identifier |
||
63 | * @param int $numRows |
||
64 | * @param int $numCols |
||
65 | * @param boolean $createCols |
||
66 | * @param boolean $implicitRows |
||
67 | * @return HtmlGrid |
||
68 | */ |
||
69 | public function htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) { |
||
72 | } |