Completed
Push — master ( fff9f5...ef609f )
by Jean-Christophe
07:06
created
Ajax/semantic/components/Form.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 		$this->params["fields"]=[];
21 21
 	}
22 22
 
23
+	/**
24
+	 * @param string $identifier
25
+	 */
23 26
 	public function addField($identifier){
24 27
 		$this->params["fields"][$identifier]=new FieldValidation($identifier);
25 28
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlAccordionItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 	protected $_title;
15 15
 	protected $_active;
16 16
 
17
+	/**
18
+	 * @param string $identifier
19
+	 */
17 20
 	public function __construct($identifier, $title, $content=NULL) {
18 21
 		parent::__construct($identifier, "div", "content", $content);
19 22
 		$this->_template="%titleElement%".$this->_template;
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlAccordionMenuItem.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -4,6 +4,10 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 class HtmlAccordionMenuItem extends HtmlMenuItem {
7
+
8
+	/**
9
+	 * @param string $identifier
10
+	 */
7 11
 	public function __construct($identifier,$title,$content) {
8 12
 		parent::__construct($identifier, new HtmlAccordionItem("accordion-".$identifier, $title,$content));
9 13
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlShapeItem.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -4,6 +4,10 @@
 block discarded – undo
4 4
 use Ajax\semantic\html\base\HtmlSemDoubleElement;
5 5
 
6 6
 class HtmlShapeItem extends HtmlSemDoubleElement {
7
+
8
+	/**
9
+	 * @param string $identifier
10
+	 */
7 11
 	public function __construct($identifier, $content) {
8 12
 		parent::__construct($identifier,"div","side",$content);
9 13
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/html5/HtmlImg.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 class HtmlImg extends \Ajax\common\html\html5\HtmlImg {
8 8
 	use BaseTrait;
9 9
 
10
+	/**
11
+	 * @param string $identifier
12
+	 */
10 13
 	public function __construct($identifier, $src="", $alt="") {
11 14
 		parent::__construct($identifier, $src, $alt);
12 15
 		$this->_baseClass="ui image";
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlButtongroups.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
 			$element->setStyle($value);
54 54
 	}
55 55
 
56
+	/**
57
+	 * @param HtmlDropdown $bt
58
+	 */
56 59
 	private function dropdownAsButton($bt) {
57 60
 		$this->addExistingDropDown($bt);
58 61
 		$bt->setTagName("button");
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
 		return $result;
82 85
 	}
83 86
 
87
+	/**
88
+	 * @param integer $iid
89
+	 */
84 90
 	private function _addArrayElement(array $element,$iid){
85 91
 		if (array_key_exists("glyph", $element))
86 92
 			$bt=new HtmlGlyphButton($this->identifier."-button-".$iid);
Please login to merge, or discard this patch.
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.