Completed
Push — master ( e9bdcb...b0560a )
by Jean-Christophe
04:52
created
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/collections/HtmlTable.php 1 patch
Doc Comments   +8 added 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 ();
@@ -146,6 +151,9 @@  discard block
 block discarded – undo
146 151
 		return $this->colAlign($colIndex, "colLeft");
147 152
 	}
148 153
 
154
+	/**
155
+	 * @param string $function
156
+	 */
149 157
 	private function colAlign($colIndex, $function) {
150 158
 		if (\is_array($colIndex)) {
151 159
 			foreach ( $colIndex as $cIndex ) {
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTableContent.php 1 patch
Doc Comments   +10 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);
@@ -170,6 +176,9 @@  discard block
 block discarded – undo
170 176
 		return $this;
171 177
 	}
172 178
 
179
+	/**
180
+	 * @param string $function
181
+	 */
173 182
 	private function colAlign($colIndex, $function) {
174 183
 		$count=$this->count();
175 184
 		for($i=0; $i < $count; $i++) {
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/modules/HtmlProgress.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -10,6 +10,11 @@
 block discarded – undo
10 10
 class HtmlProgress extends HtmlSemDoubleElement {
11 11
 	private $_params=array ();
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 * @param integer $value
16
+	 * @param string $label
17
+	 */
13 18
 	public function __construct($identifier, $value=NULL, $label=NULL) {
14 19
 		parent::__construct($identifier, "div", "ui progress");
15 20
 		if (isset($value) === true)
Please login to merge, or discard this patch.
Ajax/semantic/traits/SemanticComponentsTrait.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
 		return $this->addComponent(new Accordion($this->js), $attachTo, $params);
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param string $attachTo
61
+	 */
59 62
 	public function sticky($attachTo=NULL, $params=NULL) {
60 63
 		return $this->addComponent(new Sticky($this->js), $attachTo, $params);
61 64
 	}
@@ -64,10 +67,16 @@  discard block
 block discarded – undo
64 67
 		return $this->addComponent(new Checkbox($this->js), $attachTo, $params);
65 68
 	}
66 69
 
70
+	/**
71
+	 * @param string $attachTo
72
+	 */
67 73
 	public function rating($attachTo=NULL, $params=NULL) {
68 74
 		return $this->addComponent(new Rating($this->js), $attachTo, $params);
69 75
 	}
70 76
 
77
+	/**
78
+	 * @param string $attachTo
79
+	 */
71 80
 	public function progress($attachTo=NULL, $params=NULL) {
72 81
 		return $this->addComponent(new Progress($this->js), $attachTo, $params);
73 82
 	}
Please login to merge, or discard this patch.