@@ -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); |
@@ -170,6 +176,9 @@ discard block |
||
| 170 | 176 | return $this; |
| 171 | 177 | } |
| 172 | 178 | |
| 179 | + /** |
|
| 180 | + * @param string $function |
|
| 181 | + */ |
|
| 173 | 182 | private function colAlign($colIndex, $function) { |
| 174 | 183 | $count=$this->count(); |
| 175 | 184 | for($i=0; $i < $count; $i++) { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * Set the button value |
| 39 | 39 | * @param string $value |
| 40 | - * @return \Ajax\semantic\html\HtmlButton |
|
| 40 | + * @return HtmlButton |
|
| 41 | 41 | */ |
| 42 | 42 | public function setValue($value) { |
| 43 | 43 | $this->content=$value; |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * define the button style |
| 49 | - * @param string|int $cssStyle |
|
| 50 | - * @return \Ajax\semantic\html\HtmlButton default : "" |
|
| 49 | + * @param string $cssStyle |
|
| 50 | + * @return HtmlButton default : "" |
|
| 51 | 51 | */ |
| 52 | 52 | public function setStyle($cssStyle) { |
| 53 | 53 | return $this->addToProperty("class", $cssStyle); |
@@ -56,6 +56,9 @@ discard block |
||
| 56 | 56 | return $this->addComponent(new Accordion($this->js), $attachTo, $params); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param string $attachTo |
|
| 61 | + */ |
|
| 59 | 62 | public function sticky($attachTo=NULL, $params=NULL) { |
| 60 | 63 | return $this->addComponent(new Sticky($this->js), $attachTo, $params); |
| 61 | 64 | } |
@@ -64,10 +67,16 @@ discard block |
||
| 64 | 67 | return $this->addComponent(new Checkbox($this->js), $attachTo, $params); |
| 65 | 68 | } |
| 66 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $attachTo |
|
| 72 | + */ |
|
| 67 | 73 | public function rating($attachTo=NULL, $params=NULL) { |
| 68 | 74 | return $this->addComponent(new Rating($this->js), $attachTo, $params); |
| 69 | 75 | } |
| 70 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $attachTo |
|
| 79 | + */ |
|
| 71 | 80 | public function progress($attachTo=NULL, $params=NULL) { |
| 72 | 81 | return $this->addComponent(new Progress($this->js), $attachTo, $params); |
| 73 | 82 | } |