@@ -17,6 +17,11 @@ discard block |
||
17 | 17 | class HtmlTable extends HtmlSemDoubleElement { |
18 | 18 | private $_colCount; |
19 | 19 | |
20 | + /** |
|
21 | + * @param string $identifier |
|
22 | + * @param integer $rowCount |
|
23 | + * @param integer $colCount |
|
24 | + */ |
|
20 | 25 | public function __construct($identifier, $rowCount, $colCount) { |
21 | 26 | parent::__construct($identifier, "table", "ui table"); |
22 | 27 | $this->content=array (); |
@@ -96,7 +101,7 @@ discard block |
||
96 | 101 | /** |
97 | 102 | * Retuns the row at $rowIndex |
98 | 103 | * @param int $rowIndex |
99 | - * @return \Ajax\semantic\html\content\HtmlTR |
|
104 | + * @return \Ajax\common\html\HtmlDoubleElement |
|
100 | 105 | */ |
101 | 106 | public function getRow($rowIndex) { |
102 | 107 | return $this->getBody()->getRow($rowIndex); |
@@ -172,6 +177,9 @@ discard block |
||
172 | 177 | return $this->colAlign($colIndex, "colLeft"); |
173 | 178 | } |
174 | 179 | |
180 | + /** |
|
181 | + * @param string $function |
|
182 | + */ |
|
175 | 183 | private function colAlign($colIndex, $function) { |
176 | 184 | if (\is_array($colIndex)) { |
177 | 185 | foreach ( $colIndex as $cIndex ) { |
@@ -58,6 +58,9 @@ discard block |
||
58 | 58 | return $this->addComponent(new Accordion($this->js), $attachTo, $params); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $attachTo |
|
63 | + */ |
|
61 | 64 | public function sticky($attachTo=NULL, $params=NULL) { |
62 | 65 | return $this->addComponent(new Sticky($this->js), $attachTo, $params); |
63 | 66 | } |
@@ -66,18 +69,30 @@ discard block |
||
66 | 69 | return $this->addComponent(new Checkbox($this->js), $attachTo, $params); |
67 | 70 | } |
68 | 71 | |
72 | + /** |
|
73 | + * @param string $attachTo |
|
74 | + */ |
|
69 | 75 | public function rating($attachTo=NULL, $params=NULL) { |
70 | 76 | return $this->addComponent(new Rating($this->js), $attachTo, $params); |
71 | 77 | } |
72 | 78 | |
79 | + /** |
|
80 | + * @param string $attachTo |
|
81 | + */ |
|
73 | 82 | public function progress($attachTo=NULL, $params=NULL) { |
74 | 83 | return $this->addComponent(new Progress($this->js), $attachTo, $params); |
75 | 84 | } |
76 | 85 | |
86 | + /** |
|
87 | + * @param string $attachTo |
|
88 | + */ |
|
77 | 89 | public function search($attachTo=NULL, $params=NULL) { |
78 | 90 | return $this->addComponent(new Search($this->js), $attachTo, $params); |
79 | 91 | } |
80 | 92 | |
93 | + /** |
|
94 | + * @param string $attachTo |
|
95 | + */ |
|
81 | 96 | public function dimmer($attachTo=NULL, $params=NULL) { |
82 | 97 | return $this->addComponent(new Dimmer($this->js), $attachTo, $params); |
83 | 98 | } |