Completed
Push — master ( 79b035...e37d9a )
by Jean-Christophe
03:44
created
Ajax/JsUtils.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -719,6 +719,9 @@  discard block
 block discarded – undo
719 719
 		return $this->_create_json($json_result, $match_array_type);
720 720
 	}
721 721
 
722
+	/**
723
+	 * @param boolean $match_array_type
724
+	 */
722 725
 	private function _create_json($json_result, $match_array_type) {
723 726
 		$json=array ();
724 727
 		$_is_assoc=TRUE;
@@ -742,7 +745,7 @@  discard block
 block discarded – undo
742 745
 	 * Checks for an associative array
743 746
 	 *
744 747
 	 * @param type
745
-	 * @return type
748
+	 * @return boolean
746 749
 	 */
747 750
 	public function _is_associative_array($arr) {
748 751
 		foreach ( array_keys($arr) as $key => $val ) {
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlBreadcrumbs.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,6 @@  discard block
 block discarded – undo
164 164
 	 * Associate an ajax get to the breadcrumbs elements, displayed in $targetSelector
165 165
 	 * $attr member is used to build each element url
166 166
 	 * @param string $targetSelector the target of the get
167
-	 * @param string $attr the html attribute used to build the elements url
168 167
 	 * @return HtmlBreadcrumbs
169 168
 	 */
170 169
 	public function autoGetOnClick($targetSelector){
@@ -178,6 +177,9 @@  discard block
 block discarded – undo
178 177
 		return parent::contentAsString();
179 178
 	}
180 179
 
180
+	/**
181
+	 * @param integer $index
182
+	 */
181 183
 	public function getElement($index){
182 184
 		return $this->content[$index];
183 185
 	}
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlProgressbar.php 1 patch
Doc Comments   +16 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
 	protected $style="";
20 20
 	protected $styleLimits=null;
21 21
 
22
+	/**
23
+	 * @param string $identifier
24
+	 */
22 25
 	public function __construct($identifier, $style="info", $value=0, $max=100, $min=0) {
23 26
 		parent::__construct($identifier);
24 27
 		$this->_template=include 'templates/tplProgressbar.php';
@@ -28,6 +31,9 @@  discard block
 block discarded – undo
28 31
 		$this->setStyle($style);
29 32
 	}
30 33
 
34
+	/**
35
+	 * @param boolean $value
36
+	 */
31 37
 	public function setActive($value) {
32 38
 		if(is_array($this->content)){
33 39
 			foreach ($this->content as $pb){
@@ -42,6 +48,9 @@  discard block
 block discarded – undo
42 48
 		return $this;
43 49
 	}
44 50
 
51
+	/**
52
+	 * @param boolean $value
53
+	 */
45 54
 	public function setStriped($value) {
46 55
 		if(is_array($this->content)){
47 56
 			foreach ($this->content as $pb){
@@ -56,6 +65,9 @@  discard block
 block discarded – undo
56 65
 		return $this;
57 66
 	}
58 67
 
68
+	/**
69
+	 * @param boolean $value
70
+	 */
59 71
 	public function showCaption($value) {
60 72
 		if(is_array($this->content)){
61 73
 			foreach ($this->content as $pb){
@@ -113,6 +125,9 @@  discard block
 block discarded – undo
113 125
 		return $this->isStacked;
114 126
 	}
115 127
 
128
+	/**
129
+	 * @param boolean $isStacked
130
+	 */
116 131
 	public function setIsStacked($isStacked) {
117 132
 		$this->isStacked=$isStacked;
118 133
 		return $this;
@@ -121,7 +136,7 @@  discard block
 block discarded – undo
121 136
 	/**
122 137
 	 * define the progressbar style
123 138
 	 * avaible values : "success","info","warning","danger"
124
-	 * @param string|int $cssStyle
139
+	 * @param string $cssStyle
125 140
 	 * @return \Ajax\bootstrap\html\HtmlProgressbar default : ""
126 141
 	 */
127 142
 	public function setStyle($cssStyle) {
Please login to merge, or discard this patch.
Ajax/common/html/PropertyWrapper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class PropertyWrapper {
9 9
 
10
+	/**
11
+	 * @param \Ajax\JsUtils $js
12
+	 */
10 13
 	public static function wrap($input, $js=NULL, $separator=' ', $valueQuote='"') {
11 14
 		$output="";
12 15
 		if (is_string($input)) {
Please login to merge, or discard this patch.
Ajax/bootstrap/html/content/HtmlListgroupItem.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
  */
19 19
 class HtmlListgroupItem extends HtmlElementAsContent {
20 20
 
21
+	/**
22
+	 * @param HtmlBsDoubleElement $element
23
+	 */
21 24
 	public function __construct($element) {
22 25
 		parent::__construct($element);
23 26
 		$this->element->setProperty("class", "list-group-item");
@@ -37,7 +40,7 @@  discard block
 block discarded – undo
37 40
 	 * define the Panel style
38 41
 	 * avaible values : "list-group-item-default","list-group-item-primary","list-group-item-success","list-group-item-info","list-group-item-warning","list-group-item-danger"
39 42
 	 * @param string|int $cssStyle
40
-	 * @return \Ajax\bootstrap\html\HtmlListgroupItem default : "list-group-item-default"
43
+	 * @return \Ajax\common\html\HtmlSingleElement default : "list-group-item-default"
41 44
 	 */
42 45
 	public function setStyle($cssStyle) {
43 46
 		if (!PhalconUtils::startsWith($cssStyle, "list-group-item"))
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * Set the button value
36 36
 	 * @param string $value
37
-	 * @return \Ajax\semantic\html\HtmlButton
37
+	 * @return HtmlButton
38 38
 	 */
39 39
 	public function setValue($value) {
40 40
 		$this->content=$value;
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 
44 44
 	/**
45 45
 	 * define the button style
46
-	 * @param string|int $cssStyle
47
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
46
+	 * @param string $cssStyle
47
+	 * @return HtmlButton default : ""
48 48
 	 */
49 49
 	public function setStyle($cssStyle) {
50 50
 		return $this->addToProperty("class",$cssStyle);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	}
88 88
 
89 89
 	/**
90
-	 * @param string|HtmlIcon $icon
90
+	 * @param string $icon
91 91
 	 * @return \Ajax\semantic\html\elements\HtmlButton
92 92
 	 */
93 93
 	public function asIcon($icon){
Please login to merge, or discard this patch.
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.