Completed
Push — master ( 525ea5...e3c757 )
by Jean-Christophe
03:48
created
Ajax/semantic/html/collections/menus/HtmlAccordionMenu.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 class HtmlAccordionMenu extends HtmlMenu{
10 10
 	protected $params=array();
11 11
 
12
+	/**
13
+	 * @param string $identifier
14
+	 */
12 15
 	public function __construct( $identifier, $items=array() ){
13 16
 		parent::__construct( $identifier, $items);
14 17
 		$this->addToProperty("class", "accordion");
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/menus/HtmlMenu.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	/**
34 34
 	 * Sets the menu type
35 35
 	 * @param string $type one of text,item
36
-	 * @return \Ajax\semantic\html\collections\HtmlMenu
36
+	 * @return HtmlMenu
37 37
 	 */
38 38
 	public function setType($type="") {
39 39
 		return $this->addToPropertyCtrl("class", $type, array ("","item","text" ));
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
 	 * {@inheritDoc}
82 82
 	 *
83 83
 	 * @see \Ajax\common\html\HtmlCollection::insertItem()
84
+	 * @param HtmlIcon $item
84 85
 	 */
85 86
 	public function insertItem($item, $position=0) {
86 87
 		$item=parent::insertItem($this->getItemToInsert($item), $position);
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlListItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 class HtmlListItem extends HtmlAbsractItem {
9 9
 	protected $image;
10 10
 
11
+	/**
12
+	 * @param string $identifier
13
+	 */
11 14
 	public function __construct($identifier, $content=NULL) {
12 15
 		parent::__construct($identifier,"item",$content);
13 16
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTR.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 	private $_container;
19 19
 	private $_row;
20 20
 
21
+	/**
22
+	 * @param string $identifier
23
+	 */
21 24
 	public function __construct($identifier) {
22 25
 		parent::__construct($identifier, "tr", "");
23 26
 		$this->_states=[ State::ACTIVE,State::POSITIVE,State::NEGATIVE,State::WARNING,State::ERROR,State::DISABLED ];
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlIconGroups.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 
21 21
 	/**
22 22
 	 *
23
-	 * @param string $side
24 23
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
25 24
 	 */
26 25
 	public function setPointing($value=Direction::NONE) {
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlList.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
 class HtmlList extends HtmlSemCollection {
11 11
 	protected $_hasCheckedList;
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct($identifier, $items=array()) {
14 17
 		parent::__construct($identifier, "div", "ui list");
15 18
 		$this->addItems($items);
@@ -22,6 +25,9 @@  discard block
 block discarded – undo
22 25
 		return $item;
23 26
 	}
24 27
 
28
+	/**
29
+	 * @param integer $niveau
30
+	 */
25 31
 	public function addHeader($niveau, $content) {
26 32
 		$header=new HtmlHeader("header-" . $this->identifier, $niveau, $content, "page");
27 33
 		$this->wrap($header);
Please login to merge, or discard this patch.
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.
Ajax/semantic/traits/SemanticHtmlModulesTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,6 @@
 block discarded – undo
30 30
 	/**
31 31
 	 *
32 32
 	 * @param string $identifier
33
-	 * @param int $rowCount
34
-	 * @param int $colCount
35 33
 	 * @return HtmlRating
36 34
 	 */
37 35
 	public function htmlRating($identifier, $value, $max, $icon="") {
Please login to merge, or discard this patch.