@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Insert an item at a position |
| 65 | 65 | * @param mixed $item |
| 66 | - * @param number $position |
|
| 66 | + * @param integer $position |
|
| 67 | 67 | * @return \Ajax\semantic\html\content\HtmlDropdownItem|unknown |
| 68 | 68 | */ |
| 69 | 69 | public function insertItem($item,$position=0){ |
@@ -164,6 +164,9 @@ discard block |
||
| 164 | 164 | } |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | + /** |
|
| 168 | + * @param integer $index |
|
| 169 | + */ |
|
| 167 | 170 | public function getItem($index){ |
| 168 | 171 | return $this->items[$index]; |
| 169 | 172 | } |
@@ -254,6 +257,9 @@ discard block |
||
| 254 | 257 | return $this->addToPropertyCtrl("class", $value." pointing",Direction::getConstantValues("pointing")); |
| 255 | 258 | } |
| 256 | 259 | |
| 260 | + /** |
|
| 261 | + * @param string $value |
|
| 262 | + */ |
|
| 257 | 263 | public function setValue($value){ |
| 258 | 264 | $this->value=$value; |
| 259 | 265 | return $this; |
@@ -288,6 +294,9 @@ discard block |
||
| 288 | 294 | return $this->addToPropertyCtrl("class", "compact", array("compact")); |
| 289 | 295 | } |
| 290 | 296 | |
| 297 | + /** |
|
| 298 | + * @param string $action |
|
| 299 | + */ |
|
| 291 | 300 | public function setAction($action){ |
| 292 | 301 | $this->_params["action"]=$action; |
| 293 | 302 | } |