Completed
Push — master ( 189ad5...73e21a )
by Jean-Christophe
04:04
created
Ajax/semantic/traits/SemanticHtmlModulesTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,6 @@
 block discarded – undo
23 23
 
24 24
 	/**
25 25
 	 * @param string $identifier
26
-	 * @param int $rowCount
27
-	 * @param int $colCount
28 26
 	 */
29 27
 	public function htmlRating($identifier, $value, $max,$icon=""){
30 28
 		return $this->addHtmlComponent(new HtmlRating($identifier, $value, $max,$icon));
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/form/traits/CheckboxTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 
7 7
 trait CheckboxTrait {
8 8
 
9
+	/**
10
+	 * @param string $name
11
+	 */
9 12
 	public abstract function addToPropertyCtrl($name, $value, $typeCtrl);
10 13
 
11 14
 	public function setType($checkboxType) {
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/BaseTrait.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -11,12 +11,24 @@
 block discarded – undo
11 11
 	protected $_states=[ ];
12 12
 	protected $_baseClass;
13 13
 
14
+	/**
15
+	 * @param string $name
16
+	 */
14 17
 	protected abstract function setPropertyCtrl($name, $value, $typeCtrl);
15 18
 
19
+	/**
20
+	 * @param string $name
21
+	 */
16 22
 	protected abstract function addToPropertyCtrl($name, $value, $typeCtrl);
17 23
 
24
+	/**
25
+	 * @param string $name
26
+	 */
18 27
 	protected abstract function addToPropertyCtrlCheck($name, $value, $typeCtrl);
19 28
 
29
+	/**
30
+	 * @param string $name
31
+	 */
20 32
 	public abstract function addToProperty($name, $value, $separator=" ");
21 33
 
22 34
 	public function addVariation($variation) {
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * Set the button value
39 39
 	 * @param string $value
40
-	 * @return \Ajax\semantic\html\HtmlButton
40
+	 * @return HtmlButton
41 41
 	 */
42 42
 	public function setValue($value) {
43 43
 		$this->content=$value;
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
 
47 47
 	/**
48 48
 	 * define the button style
49
-	 * @param string|int $cssStyle
50
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
49
+	 * @param string $cssStyle
50
+	 * @return HtmlButton default : ""
51 51
 	 */
52 52
 	public function setStyle($cssStyle) {
53 53
 		return $this->addToProperty("class", $cssStyle);
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/IconTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -7,6 +7,10 @@
 block discarded – undo
7 7
 trait IconTrait {
8 8
 	private $_hasIcon=false;
9 9
 
10
+	/**
11
+	 * @param string $name
12
+	 * @param string $value
13
+	 */
10 14
 	protected abstract function addToPropertyCtrl($name, $value, $typeCtrl);
11 15
 	public abstract function addContent($content,$before=false);
12 16
 
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlTable.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,11 @@  discard block
 block discarded – undo
17 17
 class HtmlTable extends HtmlSemDoubleElement {
18 18
 	private $_colCount;
19 19
 
20
+	/**
21
+	 * @param string $identifier
22
+	 * @param integer $rowCount
23
+	 * @param integer $colCount
24
+	 */
20 25
 	public function __construct($identifier, $rowCount, $colCount) {
21 26
 		parent::__construct($identifier, "table", "ui table");
22 27
 		$this->content=array ();
@@ -96,7 +101,7 @@  discard block
 block discarded – undo
96 101
 	/**
97 102
 	 * Retuns the row at $rowIndex
98 103
 	 * @param int $rowIndex
99
-	 * @return \Ajax\semantic\html\content\HtmlTR
104
+	 * @return \Ajax\common\html\HtmlDoubleElement
100 105
 	 */
101 106
 	public function getRow($rowIndex) {
102 107
 		return $this->getBody()->getRow($rowIndex);
@@ -172,6 +177,9 @@  discard block
 block discarded – undo
172 177
 		return $this->colAlign($colIndex, "colLeft");
173 178
 	}
174 179
 
180
+	/**
181
+	 * @param string $function
182
+	 */
175 183
 	private function colAlign($colIndex, $function) {
176 184
 		if (\is_array($colIndex)) {
177 185
 			foreach ( $colIndex as $cIndex ) {
Please login to merge, or discard this patch.
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/traits/SemanticComponentsTrait.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
 		return $this->addComponent(new Accordion($this->js), $attachTo, $params);
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $attachTo
63
+	 */
61 64
 	public function sticky($attachTo=NULL, $params=NULL) {
62 65
 		return $this->addComponent(new Sticky($this->js), $attachTo, $params);
63 66
 	}
@@ -66,18 +69,30 @@  discard block
 block discarded – undo
66 69
 		return $this->addComponent(new Checkbox($this->js), $attachTo, $params);
67 70
 	}
68 71
 
72
+	/**
73
+	 * @param string $attachTo
74
+	 */
69 75
 	public function rating($attachTo=NULL, $params=NULL) {
70 76
 		return $this->addComponent(new Rating($this->js), $attachTo, $params);
71 77
 	}
72 78
 
79
+	/**
80
+	 * @param string $attachTo
81
+	 */
73 82
 	public function progress($attachTo=NULL, $params=NULL) {
74 83
 		return $this->addComponent(new Progress($this->js), $attachTo, $params);
75 84
 	}
76 85
 
86
+	/**
87
+	 * @param string $attachTo
88
+	 */
77 89
 	public function search($attachTo=NULL, $params=NULL) {
78 90
 		return $this->addComponent(new Search($this->js), $attachTo, $params);
79 91
 	}
80 92
 
93
+	/**
94
+	 * @param string $attachTo
95
+	 */
81 96
 	public function dimmer($attachTo=NULL, $params=NULL) {
82 97
 		return $this->addComponent(new Dimmer($this->js), $attachTo, $params);
83 98
 	}
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
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	protected $_tabsType="tabs";
21 21
 	protected $stacked="";
22 22
 
23
+	/**
24
+	 * @param string $identifier
25
+	 */
23 26
 	public function __construct($identifier, $tagName="ul") {
24 27
 		parent::__construct($identifier, $tagName);
25 28
 		$this->_template="<%tagName% %properties%>%tabs%</%tagName%>%content%";
Please login to merge, or discard this patch.