Completed
Push — master ( 2c01a5...172c54 )
by Jean-Christophe
03:09
created
Ajax/semantic/html/modules/HtmlDropdown.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 	protected $_params=array("action"=>"nothing","on"=>"hover");
22 22
 	protected $input;
23 23
 
24
+	/**
25
+	 * @param string $identifier
26
+	 */
24 27
 	public function __construct($identifier, $value="", $items=array()) {
25 28
 		parent::__construct($identifier, "div");
26 29
 		$this->_template=include dirname(__FILE__).'/../templates/tplDropdown.php';
@@ -47,7 +50,7 @@  discard block
 block discarded – undo
47 50
 	/**
48 51
 	 * Insert an item at a position
49 52
 	 * @param mixed $item
50
-	 * @param number $position
53
+	 * @param integer $position
51 54
 	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|unknown
52 55
 	 */
53 56
 	public function insertItem($item,$position=0){
@@ -205,6 +208,9 @@  discard block
 block discarded – undo
205 208
 		return $this->addToPropertyCtrl("class", "compact", array("compact"));
206 209
 	}
207 210
 
211
+	/**
212
+	 * @param string $action
213
+	 */
208 214
 	public function setAction($action){
209 215
 		$this->_params["action"]=$action;
210 216
 	}
Please login to merge, or discard this patch.