@@ -68,10 +68,16 @@ discard block |
||
68 | 68 | return $tr; |
69 | 69 | } |
70 | 70 | |
71 | + /** |
|
72 | + * @param integer $value |
|
73 | + */ |
|
71 | 74 | public function newRow($value) { |
72 | 75 | return $this->createItem($value); |
73 | 76 | } |
74 | 77 | |
78 | + /** |
|
79 | + * @param integer $colCount |
|
80 | + */ |
|
75 | 81 | public function addRow($colCount) { |
76 | 82 | return $this->addItem($colCount); |
77 | 83 | } |
@@ -97,7 +103,7 @@ discard block |
||
97 | 103 | /** |
98 | 104 | * |
99 | 105 | * @param int $index |
100 | - * @return \Ajax\semantic\html\content\HtmlTR |
|
106 | + * @return \Ajax\common\html\HtmlDoubleElement |
|
101 | 107 | */ |
102 | 108 | public function getRow($index) { |
103 | 109 | return $this->getItem($index); |
@@ -141,6 +147,9 @@ discard block |
||
141 | 147 | return $this; |
142 | 148 | } |
143 | 149 | |
150 | + /** |
|
151 | + * @param integer $colIndex |
|
152 | + */ |
|
144 | 153 | public function setColValues($colIndex, $values=array()) { |
145 | 154 | $count=$this->count(); |
146 | 155 | if (\is_array($values) === false) { |
@@ -161,6 +170,9 @@ discard block |
||
161 | 170 | return $this; |
162 | 171 | } |
163 | 172 | |
173 | + /** |
|
174 | + * @param integer $rowIndex |
|
175 | + */ |
|
164 | 176 | public function setRowValues($rowIndex, $values=array()) { |
165 | 177 | $count=$this->count(); |
166 | 178 | if (\is_array($values) === false) { |
@@ -170,6 +182,9 @@ discard block |
||
170 | 182 | return $this; |
171 | 183 | } |
172 | 184 | |
185 | + /** |
|
186 | + * @param string $function |
|
187 | + */ |
|
173 | 188 | private function colAlign($colIndex, $function) { |
174 | 189 | $count=$this->count(); |
175 | 190 | for($i=0; $i < $count; $i++) { |
@@ -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 | } |