Completed
Push — master ( 525ea5...e3c757 )
by Jean-Christophe
03:48
created
Ajax/semantic/html/content/table/HtmlTableContent.php 1 patch
Doc Comments   +16 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,10 +68,16 @@  discard block
 block discarded – undo
68 68
 		return $tr;
69 69
 	}
70 70
 
71
+	/**
72
+	 * @param integer $value
73
+	 */
71 74
 	public function newRow($value) {
72 75
 		return $this->createItem($value);
73 76
 	}
74 77
 
78
+	/**
79
+	 * @param integer $colCount
80
+	 */
75 81
 	public function addRow($colCount) {
76 82
 		return $this->addItem($colCount);
77 83
 	}
@@ -97,7 +103,7 @@  discard block
 block discarded – undo
97 103
 	/**
98 104
 	 *
99 105
 	 * @param int $index
100
-	 * @return \Ajax\semantic\html\content\HtmlTR
106
+	 * @return \Ajax\common\html\HtmlDoubleElement
101 107
 	 */
102 108
 	public function getRow($index) {
103 109
 		return $this->getItem($index);
@@ -141,6 +147,9 @@  discard block
 block discarded – undo
141 147
 		return $this;
142 148
 	}
143 149
 
150
+	/**
151
+	 * @param integer $colIndex
152
+	 */
144 153
 	public function setColValues($colIndex, $values=array()) {
145 154
 		$count=$this->count();
146 155
 		if (\is_array($values) === false) {
@@ -161,6 +170,9 @@  discard block
 block discarded – undo
161 170
 		return $this;
162 171
 	}
163 172
 
173
+	/**
174
+	 * @param integer $rowIndex
175
+	 */
164 176
 	public function setRowValues($rowIndex, $values=array()) {
165 177
 		$count=$this->count();
166 178
 		if (\is_array($values) === false) {
@@ -170,6 +182,9 @@  discard block
 block discarded – undo
170 182
 		return $this;
171 183
 	}
172 184
 
185
+	/**
186
+	 * @param string $function
187
+	 */
173 188
 	private function colAlign($colIndex, $function) {
174 189
 		$count=$this->count();
175 190
 		for($i=0; $i < $count; $i++) {
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 	private $_colSizing=true;
23 23
 	private $_implicitRows=false;
24 24
 
25
+	/**
26
+	 * @param string $identifier
27
+	 */
25 28
 	public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) {
26 29
 		parent::__construct($identifier, "div", "ui grid");
27 30
 		$this->_implicitRows=$implicitRows;
@@ -158,7 +161,7 @@  discard block
 block discarded – undo
158 161
 	/**
159 162
 	 * return the row at $index
160 163
 	 * @param int $index
161
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
164
+	 * @return \Ajax\common\html\HtmlDoubleElement
162 165
 	 */
163 166
 	public function getRow($index) {
164 167
 		return $this->getItem($index);
@@ -297,7 +300,7 @@  discard block
 block discarded – undo
297 300
 
298 301
 	/**
299 302
 	 * stretch the row contents to take up the entire column height
300
-	 * @return \Ajax\semantic\html\content\HtmlGridRow
303
+	 * @return HtmlGrid
301 304
 	 */
302 305
 	public function setStretched() {
303 306
 		return $this->addToProperty("class", "stretched");
Please login to merge, or discard this patch.
Ajax/bootstrap/components/Modal.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@
 block discarded – undo
54 54
 		return $this->setParam("keyboard", $value);
55 55
 	}
56 56
 
57
+	/**
58
+	 * @param boolean $value
59
+	 */
57 60
 	public function setDraggable($value) {
58 61
 		if ($value) {
59 62
 			$this->jsCodes ["draggable"]=new Draggable();
Please login to merge, or discard this patch.
Ajax/Jquery.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@  discard block
 block discarded – undo
55 55
 		return $this->_semantic;
56 56
 	}
57 57
 
58
+	/**
59
+	 * @param JsUtils $jsUtils
60
+	 */
58 61
 	public function __construct($params,$jsUtils) {
59 62
 		$this->params=array();
60 63
 		foreach ( $params as $key => $val ) {
@@ -175,7 +178,7 @@  discard block
 block discarded – undo
175 178
 	 *
176 179
 	 * @param string $element
177 180
 	 * @param array $options
178
-	 * @return void
181
+	 * @return string
179 182
 	 */
180 183
 	public function sortable($element, $options=array()) {
181 184
 		if (count($options)>0) {
@@ -306,6 +309,7 @@  discard block
 block discarded – undo
306 309
 
307 310
 	/**
308 311
 	 * A wrapper for writing document.ready()
312
+	 * @param string $js
309 313
 	 * @return string
310 314
 	 */
311 315
 	public function _document_ready($js) {
@@ -353,6 +357,9 @@  discard block
 block discarded – undo
353 357
 		return $value;
354 358
 	}
355 359
 
360
+	/**
361
+	 * @param string $input
362
+	 */
356 363
 	private function minify($input) {
357 364
 	if(trim($input) === "") return $input;
358 365
 	return preg_replace(
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlAbsractItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
 
12 12
 abstract class HtmlAbsractItem extends HtmlSemDoubleElement {
13 13
 
14
+	/**
15
+	 * @param string $baseClass
16
+	 */
14 17
 	public function __construct($identifier, $baseClass,$content=NULL) {
15 18
 		parent::__construct($identifier, "div", $baseClass);
16 19
 		$this->content=array();
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * Set the button value
40 40
 	 * @param string $value
41
-	 * @return \Ajax\semantic\html\HtmlButton
41
+	 * @return HtmlButton
42 42
 	 */
43 43
 	public function setValue($value) {
44 44
 		$this->content=$value;
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
 
48 48
 	/**
49 49
 	 * define the button style
50
-	 * @param string|int $cssStyle
51
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
50
+	 * @param string $cssStyle
51
+	 * @return HtmlButton default : ""
52 52
 	 */
53 53
 	public function setStyle($cssStyle) {
54 54
 		return $this->addToProperty("class", $cssStyle);
@@ -98,7 +98,6 @@  discard block
 block discarded – undo
98 98
 
99 99
 	/**
100 100
 	 * Add and return a button label
101
-	 * @param string $caption
102 101
 	 * @param string $before
103 102
 	 * @param string $icon
104 103
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
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.
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/php/yii/URI.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -429,7 +429,7 @@
 block discarded – undo
429 429
 	 *
430 430
 	 * @access public
431 431
 	 * @param array an associative array of key/values
432
-	 * @return array
432
+	 * @return string
433 433
 	 *
434 434
 	 */
435 435
 	function assoc_to_uri($array) {
Please login to merge, or discard this patch.