Completed
Push — master ( 06f62d...424d4e )
by Jean-Christophe
03:13
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/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/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.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,13 +10,16 @@
 block discarded – undo
10 10
 
11 11
 class HtmlLabel extends HtmlSemDoubleElement {
12 12
 	use LabeledIconTrait;
13
+
14
+	/**
15
+	 * @param string $identifier
16
+	 */
13 17
 	public function __construct($identifier,$caption="",$tagName="div") {
14 18
 		parent::__construct($identifier,$tagName,"ui label");
15 19
 		$this->content=$caption;
16 20
 	}
17 21
 
18 22
 	/**
19
-	 * @param string $side
20 23
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
21 24
 	 */
22 25
 	public function setPointing($value=Direction::NONE){
Please login to merge, or discard this patch.
Ajax/common/html/HtmlCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
 		$this->addItem($function($object));
88 88
 	}
89 89
 
90
+	/**
91
+	 * @param \Closure $callBack
92
+	 */
90 93
 	public function apply($callBack){
91 94
 		foreach ($this->content as $item){
92 95
 			$callBack($item);
Please login to merge, or discard this patch.
Ajax/semantic/html/base/HtmlSemNavElement.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,6 +21,11 @@  discard block
 block discarded – undo
21 21
 	protected $_contentSeparator="";
22 22
 
23 23
 
24
+	/**
25
+	 * @param string $identifier
26
+	 * @param string $tagName
27
+	 * @param string $baseClass
28
+	 */
24 29
 	public function __construct($identifier,$tagName,$baseClass){
25 30
 		parent::__construct($identifier,$tagName,$baseClass);
26 31
 		$this->root="";
@@ -31,8 +36,7 @@  discard block
 block discarded – undo
31 36
 	 * Associate an ajax get to the elements, displayed in $targetSelector
32 37
 	 * $attr member is used to build each element url
33 38
 	 * @param string $targetSelector the target of the get
34
-	 * @param string $attr the html attribute used to build the elements url
35
-	 * @return HtmlNavElement
39
+	 * @return HtmlSemNavElement
36 40
 	 */
37 41
 	public function autoGetOnClick($targetSelector){
38 42
 		return $this->getOnClick($this->root, $targetSelector,array("attr"=>$this->attr));
@@ -64,7 +68,7 @@  discard block
 block discarded – undo
64 68
 	/**
65 69
 	 * Define the html attribute for each element url in ajax
66 70
 	 * @param string $attr html attribute
67
-	 * @return HtmlNavElement
71
+	 * @return HtmlSemNavElement
68 72
 	 */
69 73
 	public function setAttr($attr) {
70 74
 		$this->attr = $attr;
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlBreadcrumb.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
 	 * Associate an ajax get to the breadcrumb elements, displayed in $targetSelector
56 56
 	 * $attr member is used to build each element url
57 57
 	 * @param string $targetSelector the target of the get
58
-	 * @param string $attr the html attribute used to build the elements url
59
-	 * @return HtmlBreadcrumbs
58
+	 * @return HtmlBreadcrumb
60 59
 	 */
61 60
 	public function autoGetOnClick($targetSelector){
62 61
 		return $this->getOnClick($this->root, $targetSelector,array("attr"=>$this->attr));
@@ -118,7 +117,7 @@  discard block
 block discarded – undo
118 117
 	/**
119 118
 	 * sets the function who generates the href elements. default : function($element){return $element->getContent()}
120 119
 	 * @param function $_hrefFunction
121
-	 * @return \Ajax\bootstrap\html\HtmlBreadcrumbs
120
+	 * @return HtmlBreadcrumb
122 121
 	 */
123 122
 	public function setHrefFunction($_hrefFunction) {
124 123
 		$this->_hrefFunction = $_hrefFunction;
Please login to merge, or discard this patch.