Completed
Push — master ( 5db14f...017cb5 )
by Jean-Christophe
03:16
created
Ajax/semantic/widgets/business/BusinessForm.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
 	 * {@inheritdoc}
16 16
 	 *
17 17
 	 * @see \Ajax\semantic\widgets\dataform\DataForm::__construct()
18
+	 * @param string $identifier
18 19
 	 */
19 20
 	public function __construct($identifier,$modelInstance=null,$fieldsOrder,$fieldsDefinition,$fields=[],$captions=[],$separators=[]) {
20 21
 		if(!isset($modelInstance)){
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTR.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 	private $_container;
19 19
 	private $_row;
20 20
 
21
+	/**
22
+	 * @param string $identifier
23
+	 */
21 24
 	public function __construct($identifier) {
22 25
 		parent::__construct($identifier, "tr", "");
23 26
 		$this->_states=[ State::ACTIVE,State::POSITIVE,State::NEGATIVE,State::WARNING,State::ERROR,State::DISABLED ];
@@ -78,6 +81,7 @@  discard block
 block discarded – undo
78 81
 	/**
79 82
 	 * Sets or adds values to the row cols
80 83
 	 * @param mixed $values
84
+	 * @param \Closure $callback
81 85
 	 */
82 86
 	protected function _addOrSetValues($values,$callback) {
83 87
 		$count=$this->count();
Please login to merge, or discard this patch.
Ajax/semantic/widgets/datatable/DataTable.php 1 patch
Doc Comments   +16 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
 
64 64
 
65 65
 
66
+	/**
67
+	 * @param string $op
68
+	 */
66 69
 	protected function _generateBehavior($op,$params,JsUtils $js){
67 70
 		if(isset($this->_urls[$op])){
68 71
 			$params=\array_merge($params,["attr"=>"data-ajax"]);
@@ -139,6 +142,9 @@  discard block
 block discarded – undo
139 142
 		}
140 143
 	}
141 144
 
145
+	/**
146
+	 * @param string $checkedClass
147
+	 */
142 148
 	protected function _generateRow($instance,&$table,$checkedClass=null){
143 149
 		$this->_instanceViewer->setInstance($instance);
144 150
 		InstanceViewer::$index++;
@@ -215,6 +221,9 @@  discard block
 block discarded – undo
215 221
 		return $this;
216 222
 	}
217 223
 
224
+	/**
225
+	 * @param PositionInTable $part
226
+	 */
218 227
 	private function addToolbarRow($part,$table,$captions){
219 228
 		$hasPart=$table->hasPart($part);
220 229
 		if($hasPart){
@@ -254,7 +263,7 @@  discard block
 block discarded – undo
254 263
 	 * Paginates the DataTable element with a Semantic HtmlPaginationMenu component
255 264
 	 * @param number $page the active page number
256 265
 	 * @param number $total_rowcount the total number of items
257
-	 * @param number $items_per_page The number of items per page
266
+	 * @param integer $items_per_page The number of items per page
258 267
 	 * @param number $pages_visibles The number of visible pages in the Pagination component
259 268
 	 * @return DataTable
260 269
 	 */
@@ -265,9 +274,9 @@  discard block
 block discarded – undo
265 274
 
266 275
 	/**
267 276
 	 * Auto Paginates the DataTable element with a Semantic HtmlPaginationMenu component
268
-	 * @param number $page the active page number
269
-	 * @param number $items_per_page The number of items per page
270
-	 * @param number $pages_visibles The number of visible pages in the Pagination component
277
+	 * @param integer $page the active page number
278
+	 * @param integer $items_per_page The number of items per page
279
+	 * @param integer $pages_visibles The number of visible pages in the Pagination component
271 280
 	 * @return DataTable
272 281
 	 */
273 282
 	public function autoPaginate($page=1,$items_per_page=10,$pages_visibles=4){
@@ -333,6 +342,9 @@  discard block
 block discarded – undo
333 342
 		return $this;
334 343
 	}
335 344
 
345
+	/**
346
+	 * @return string
347
+	 */
336 348
 	public function getRefreshSelector() {
337 349
 		if(isset($this->_refreshSelector))
338 350
 			return $this->_refreshSelector;
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
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
 		}
68 68
 	}
69 69
 
70
+	/**
71
+	 * @param HtmlForm $form
72
+	 */
70 73
 	protected function _generateFields($form,$values,$headers,$sepFirst,$sepLast,$wrappers){
71 74
 		$wrapper=null;
72 75
 		$fields=\array_slice($values, $sepFirst+1,$sepLast-$sepFirst);
@@ -132,12 +135,20 @@  discard block
 block discarded – undo
132 135
 		$this->content[$this->_toolbarPosition]=$this->_toolbar;
133 136
 	}
134 137
 
138
+	/**
139
+	 * @param integer $index
140
+	 * @param string $title
141
+	 */
135 142
 	public function addDividerBefore($index,$title){
136 143
 		$index=$this->_getIndex($index);
137 144
 		$this->_instanceViewer->addHeaderDividerBefore($index, $title);
138 145
 		return $this;
139 146
 	}
140 147
 
148
+	/**
149
+	 * @param string $index
150
+	 * @param string $contentAfter
151
+	 */
141 152
 	public function addWrapper($index,$contentBefore,$contentAfter=null){
142 153
 		$index=$this->_getIndex($index);
143 154
 		$this->_instanceViewer->addWrapper($index, $contentBefore,$contentAfter);
Please login to merge, or discard this patch.