Completed
Push — master ( 874c8c...541414 )
by Jean-Christophe
03:49
created
Ajax/semantic/html/modules/HtmlDropdown.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 	protected $_associative;
26 26
 	protected $_multiple;
27 27
 
28
+	/**
29
+	 * @param string $identifier
30
+	 */
28 31
 	public function __construct($identifier, $value="", $items=array(),$associative=true) {
29 32
 		parent::__construct($identifier, "div");
30 33
 		$this->_template=include dirname(__FILE__).'/../templates/tplDropdown.php';
@@ -78,7 +81,7 @@  discard block
 block discarded – undo
78 81
 	/**
79 82
 	 * Insert an item at a position
80 83
 	 * @param mixed $item
81
-	 * @param number $position
84
+	 * @param integer $position
82 85
 	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|unknown
83 86
 	 */
84 87
 	public function insertItem($item,$position=0){
@@ -186,6 +189,9 @@  discard block
 block discarded – undo
186 189
 		}
187 190
 	}
188 191
 
192
+	/**
193
+	 * @param integer $index
194
+	 */
189 195
 	public function getItem($index){
190 196
 		return $this->items[$index];
191 197
 	}
@@ -279,6 +285,9 @@  discard block
 block discarded – undo
279 285
 		return $this->addToPropertyCtrl("class", $value." pointing",Direction::getConstantValues("pointing"));
280 286
 	}
281 287
 
288
+	/**
289
+	 * @param string $value
290
+	 */
282 291
 	public function setValue($value){
283 292
 		$this->value=$value;
284 293
 		return $this;
@@ -315,6 +324,9 @@  discard block
 block discarded – undo
315 324
 		return $this->addToPropertyCtrl("class", "compact", array("compact"));
316 325
 	}
317 326
 
327
+	/**
328
+	 * @param string $action
329
+	 */
318 330
 	public function setAction($action){
319 331
 		$this->_params["action"]=$action;
320 332
 	}
Please login to merge, or discard this patch.