Completed
Push — master ( b7a7dd...b1fd35 )
by Jean-Christophe
03:34
created
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +4 added lines, -1 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;
@@ -162,7 +165,7 @@  discard block
 block discarded – undo
162 165
 	/**
163 166
 	 * return the row at $index
164 167
 	 * @param int $index
165
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
168
+	 * @return \Ajax\common\html\HtmlDoubleElement
166 169
 	 */
167 170
 	public function getRow($index) {
168 171
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Ajax/semantic/widgets/dataform/DataForm.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
 		}
73 73
 	}
74 74
 
75
+	/**
76
+	 * @param HtmlForm $form
77
+	 */
75 78
 	protected function _generateFields($form,$values,$headers,$sepFirst,$wrappers){
76 79
 		$wrapper=null;
77 80
 		if(isset($headers[$sepFirst+1]))
@@ -136,12 +139,20 @@  discard block
 block discarded – undo
136 139
 		$this->content[$this->_toolbarPosition]=$this->_toolbar;
137 140
 	}
138 141
 
142
+	/**
143
+	 * @param integer $index
144
+	 * @param string $title
145
+	 */
139 146
 	public function addDividerBefore($index,$title){
140 147
 		$index=$this->_getIndex($index);
141 148
 		$this->_instanceViewer->addHeaderDividerBefore($index, $title);
142 149
 		return $this;
143 150
 	}
144 151
 
152
+	/**
153
+	 * @param string $index
154
+	 * @param string $contentAfter
155
+	 */
145 156
 	public function addWrapper($index,$contentBefore,$contentAfter=null){
146 157
 		$index=$this->_getIndex($index);
147 158
 		$this->_instanceViewer->addWrapper($index, $contentBefore,$contentAfter);
Please login to merge, or discard this patch.
Ajax/semantic/traits/SemanticHtmlViewsTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 	/**
23 23
 	 * @param string $identifier
24
-	 * @param array $items
25 24
 	 * @return HtmlCardGroups
26 25
 	 */
27 26
 	public function htmlCardGroups($identifier, $cards=array()) {
Please login to merge, or discard this patch.
Ajax/service/JReflection.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -3,11 +3,18 @@  discard block
 block discarded – undo
3 3
 namespace Ajax\service;
4 4
 
5 5
 class JReflection {
6
+
7
+	/**
8
+	 * @param \Ajax\common\html\HtmlCollection $object
9
+	 */
6 10
 	public static function shortClassName($object){
7 11
 		$classNameWithNamespace = get_class($object);
8 12
 		return substr($classNameWithNamespace, strrpos($classNameWithNamespace, '\\')+1);
9 13
 	}
10 14
 
15
+	/**
16
+	 * @param string $classname
17
+	 */
11 18
 	public static function jsonObject($classname){
12 19
 		$object=new $classname();
13 20
 		$class = new \ReflectionClass($classname);
@@ -29,10 +36,16 @@  discard block
 block discarded – undo
29 36
 		return $object;
30 37
 	}
31 38
 
39
+	/**
40
+	 * @param string $callback
41
+	 */
32 42
 	public static function callMethod($object,$callback,array $values){
33 43
 		return \call_user_func_array([$object,$callback],$values);
34 44
 	}
35 45
 
46
+	/**
47
+	 * @param string $propertyName
48
+	 */
36 49
 	public static function getterName($propertyName,$prefix="get"){
37 50
 		return $prefix.\ucfirst($propertyName);
38 51
 	}
Please login to merge, or discard this patch.