@@ -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 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @param string $title |
| 49 | - * @param number $niveau |
|
| 49 | + * @param integer $niveau |
|
| 50 | 50 | * @param string $dividing |
| 51 | 51 | * @return HtmlHeader |
| 52 | 52 | */ |
@@ -143,6 +143,9 @@ discard block |
||
| 143 | 143 | return $this->addItem($message); |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | + /** |
|
| 147 | + * @param HtmlFormField $field |
|
| 148 | + */ |
|
| 146 | 149 | private function addCompoValidation($js,$compo,$field){ |
| 147 | 150 | $validation=$field->getValidation(); |
| 148 | 151 | if(isset($validation)){ |
@@ -195,6 +198,9 @@ discard block |
||
| 195 | 198 | $this->addEventsOnRun($js); |
| 196 | 199 | } |
| 197 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $paramName |
|
| 203 | + */ |
|
| 198 | 204 | public function addValidationParam($paramName,$paramValue){ |
| 199 | 205 | $this->_validationParams[$paramName]=$paramValue; |
| 200 | 206 | return $this; |