Completed
Push — master ( 73e21a...085edf )
by Jean-Christophe
04:37
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/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.
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/bootstrap/html/HtmlAccordion.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
  */
15 15
 class HtmlAccordion extends HtmlBsDoubleElement {
16 16
 
17
+	/**
18
+	 * @param string $identifier
19
+	 */
17 20
 	public function __construct($identifier, $tagName="div") {
18 21
 		parent::__construct($identifier, $tagName);
19 22
 		$this->setClass("panel-group");
@@ -22,6 +25,9 @@  discard block
 block discarded – undo
22 25
 		$this->content=array ();
23 26
 	}
24 27
 
28
+	/**
29
+	 * @param string $title
30
+	 */
25 31
 	public function addPanel($title, $content) {
26 32
 		$nb=sizeof($this->content)+1;
27 33
 		$panel=new HtmlPanel("panel-".$this->identifier."-".$nb);
@@ -40,7 +46,6 @@  discard block
 block discarded – undo
40 46
 	/**
41 47
 	 * render the content of an existing view : $controller/$action and set the response to a new panel
42 48
 	 * @param string $title The panel title
43
-	 * @param Controller $initialController
44 49
 	 * @param View $view
45 50
 	 * @param string $controller a Phalcon controller
46 51
 	 * @param string $action a Phalcon action
Please login to merge, or discard this patch.