Completed
Branch master (90089b)
by Jean-Christophe
07:19
created
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/HtmlAccordion.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
 
11 11
 	protected $params=array();
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct( $identifier, $tagName="div", $baseClass="ui"){
14 17
 		parent::__construct( $identifier, "div", "ui accordion");
15 18
 	}
@@ -29,6 +32,9 @@  discard block
 block discarded – undo
29 32
 		return ($value instanceof HtmlAccordionItem)===false;
30 33
 	}
31 34
 
35
+	/**
36
+	 * @param string $title
37
+	 */
32 38
 	public function addPanel($title,$content){
33 39
 		return $this->addItem([$title,$content]);
34 40
 	}
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/html/modules/HtmlModal.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 	protected $_params=array();
15 15
 	protected $_paramParts=array();
16 16
 
17
+	/**
18
+	 * @param string $identifier
19
+	 */
17 20
 	public function __construct($identifier, $header="", $content="", $actions=array()) {
18 21
 		parent::__construct($identifier, "div","ui modal");
19 22
 		if(isset($header)){
@@ -27,6 +30,9 @@  discard block
 block discarded – undo
27 30
 		}
28 31
 	}
29 32
 
33
+	/**
34
+	 * @param string $value
35
+	 */
30 36
 	public function setHeader($value) {
31 37
 		$this->content["header"]=new HtmlSemDoubleElement("header-" . $this->identifier, "a", "header", $value);
32 38
 		return $this;
@@ -103,6 +109,9 @@  discard block
 block discarded – undo
103 109
 		return $this->addElementInPart(new HtmlSemDoubleElement($part."-" . $this->identifier, "div", $uiClass, $content), $part);
104 110
 	}
105 111
 
112
+	/**
113
+	 * @param BaseHtml $element
114
+	 */
106 115
 	private function addElementInPart($element,$part) {
107 116
 		$this->content[$part]->addContent($element);
108 117
 		return $element;
@@ -145,7 +154,6 @@  discard block
 block discarded – undo
145 154
 	/**
146 155
 	 * render the content of $controller::$action and set the response to the modal content
147 156
 	 * @param JsUtils $js
148
-	 * @param string $title The panel title
149 157
 	 * @param Controller $initialControllerInstance
150 158
 	 * @param string $controllerName the controller name
151 159
 	 * @param string $actionName the action name
Please login to merge, or discard this patch.
Ajax/semantic/traits/SemanticComponentsTrait.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
 		return $this->addComponent(new Accordion($this->js), $attachTo, $params);
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param string $attachTo
64
+	 */
62 65
 	public function sticky($attachTo=NULL, $params=NULL) {
63 66
 		return $this->addComponent(new Sticky($this->js), $attachTo, $params);
64 67
 	}
@@ -67,22 +70,37 @@  discard block
 block discarded – undo
67 70
 		return $this->addComponent(new Checkbox($this->js), $attachTo, $params);
68 71
 	}
69 72
 
73
+	/**
74
+	 * @param string $attachTo
75
+	 */
70 76
 	public function rating($attachTo=NULL, $params=NULL) {
71 77
 		return $this->addComponent(new Rating($this->js), $attachTo, $params);
72 78
 	}
73 79
 
80
+	/**
81
+	 * @param string $attachTo
82
+	 */
74 83
 	public function progress($attachTo=NULL, $params=NULL) {
75 84
 		return $this->addComponent(new Progress($this->js), $attachTo, $params);
76 85
 	}
77 86
 
87
+	/**
88
+	 * @param string $attachTo
89
+	 */
78 90
 	public function search($attachTo=NULL, $params=NULL) {
79 91
 		return $this->addComponent(new Search($this->js), $attachTo, $params);
80 92
 	}
81 93
 
94
+	/**
95
+	 * @param string $attachTo
96
+	 */
82 97
 	public function dimmer($attachTo=NULL, $params=NULL) {
83 98
 		return $this->addComponent(new Dimmer($this->js), $attachTo, $params);
84 99
 	}
85 100
 
101
+	/**
102
+	 * @param string $attachTo
103
+	 */
86 104
 	public function modal($attachTo=NULL, $params=NULL,$paramsParts=NULL) {
87 105
 		$result= $this->addComponent(new Modal($this->js), $attachTo, $params);
88 106
 		$result->setParamParts($paramsParts);
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.
Ajax/ui/components/Autocomplete.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 * Identifies the position of the suggestions menu in relation to the associated input element.
106 106
 	 * The of option defaults to the input element, but you can specify another element to position against.
107 107
 	 * You can refer to the jQuery UI Position utility for more details about the various options.
108
-	 * @param int $position default : { my: "left top", at: "left bottom", collision: "none" }
108
+	 * @param Position $position default : { my: "left top", at: "left bottom", collision: "none" }
109 109
 	 * @return $this
110 110
 	 */
111 111
 	public function setPosition(Position $position) {
Please login to merge, or discard this patch.