Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created
Ajax/semantic/html/content/HtmlGridRow.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@  discard block
 block discarded – undo
16 16
 class HtmlGridRow extends HtmlCollection{
17 17
 
18 18
 	private $_colSize;
19
+
20
+	/**
21
+	 * @param string $identifier
22
+	 */
19 23
 	public function __construct( $identifier,$numCols=NULL,$colSizing=false){
20 24
 		parent::__construct( $identifier,"div");
21 25
 		$this->setClass("row");
@@ -49,7 +53,7 @@  discard block
 block discarded – undo
49 53
 	/**
50 54
 	 * return the col at $index
51 55
 	 * @param int $index
52
-	 * @return \Ajax\semantic\html\collections\HtmlGridCol
56
+	 * @return \Ajax\common\html\HtmlDoubleElement
53 57
 	 */
54 58
 	public function getCol($index){
55 59
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Ajax/common/html/HtmlCollection.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
81 81
 		$this->addItems($function($object));
82 82
 	}
83 83
 
84
+	/**
85
+	 * @param \Closure $callBack
86
+	 */
84 87
 	public function apply($callBack){
85 88
 		foreach ($this->content as $item){
86 89
 			$callBack($item);
@@ -96,7 +99,7 @@  discard block
 block discarded – undo
96 99
 	}
97 100
 	/**
98 101
 	 * The item factory
99
-	 * @param string|HtmlDoubleElement $value
102
+	 * @param string $value
100 103
 	 */
101 104
 	protected abstract function createItem($value);
102 105
 }
103 106
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,11 @@  discard block
 block discarded – undo
19 19
 	private $_createCols;
20 20
 	private $_colSizing=true;
21 21
 	private $_implicitRows=false;
22
+
23
+	/**
24
+	 * @param string $identifier
25
+	 * @param integer $numCols
26
+	 */
22 27
 	public function __construct( $identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){
23 28
 		parent::__construct( $identifier, "div");
24 29
 		$this->_implicitRows=$implicitRows;
@@ -51,7 +56,7 @@  discard block
 block discarded – undo
51 56
 	/**
52 57
 	 * return the row at $index
53 58
 	 * @param int $index
54
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
59
+	 * @return \Ajax\common\html\HtmlDoubleElement
55 60
 	 */
56 61
 	public function getRow($index){
57 62
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@  discard block
 block discarded – undo
9 9
 
10 10
 class HtmlLabel extends HtmlSemDoubleElement {
11 11
 
12
+	/**
13
+	 * @param string $identifier
14
+	 */
12 15
 	public function __construct($identifier,$caption="",$tagName="div") {
13 16
 		parent::__construct($identifier,$tagName);
14 17
 		$this->setProperty("class", "ui label");
@@ -16,7 +19,6 @@  discard block
 block discarded – undo
16 19
 	}
17 20
 
18 21
 	/**
19
-	 * @param string $side
20 22
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
21 23
 	 */
22 24
 	public function setPointing($value=Pointing::POINTING){
Please login to merge, or discard this patch.
Ajax/Semantic.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,12 +36,15 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @param string $attachTo
38 38
 	 * @param string|array $params
39
-	 * @return $this
39
+	 * @return common\components\SimpleComponent
40 40
 	 */
41 41
 	public function popup($attachTo=NULL, $params=NULL) {
42 42
 		return $this->addComponent(new Popup($this->js), $attachTo, $params);
43 43
 	}
44 44
 
45
+	/**
46
+	 * @param string $attachTo
47
+	 */
45 48
 	public function dropdown($attachTo=NULL, $params=NULL) {
46 49
 		return $this->addComponent(new Dropdown($this->js), $attachTo, $params);
47 50
 	}
@@ -201,7 +204,7 @@  discard block
 block discarded – undo
201 204
 
202 205
 	/**
203 206
 	 * @param string $identifier
204
-	 * @param number $niveau
207
+	 * @param integer $niveau
205 208
 	 * @param mixed $content
206 209
 	 * @param string $type
207 210
 	 */
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/AttachedTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Ajax\semantic\html\base\constants\Side;
5 5
 trait AttachedTrait {
6 6
 	/**
7
-	 * @param string $side
8 7
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
9 8
 	 */
10 9
 	public function setAttachment($value=Side::BOTH){
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlDivider.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.