Completed
Push — master ( d9189f...847185 )
by Jean-Christophe
03:54
created
Ajax/common/html/BaseHtml.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -55,6 +55,10 @@  discard block
 block discarded – undo
55 55
 
56 56
 
57 57
 
58
+	/**
59
+	 * @param string $name
60
+	 * @param string[] $typeCtrl
61
+	 */
58 62
 	protected function setMemberCtrl(&$name, $value, $typeCtrl) {
59 63
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
60 64
 			return $name=$value;
@@ -72,6 +76,10 @@  discard block
 block discarded – undo
72 76
 
73 77
 
74 78
 
79
+	/**
80
+	 * @param string $name
81
+	 * @param string[] $typeCtrl
82
+	 */
75 83
 	protected function addToMemberCtrl(&$name, $value, $typeCtrl, $separator=" ") {
76 84
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
77 85
 			if (\is_array($typeCtrl)) {
@@ -82,6 +90,9 @@  discard block
 block discarded – undo
82 90
 		return $this;
83 91
 	}
84 92
 
93
+	/**
94
+	 * @param string $name
95
+	 */
85 96
 	protected function addToMember(&$name, $value, $separator=" ") {
86 97
 		$name=str_ireplace($value, "", $name) . $separator . $value;
87 98
 		return $this;
@@ -94,6 +105,9 @@  discard block
 block discarded – undo
94 105
 		$oldValue=trim($oldValue);
95 106
 	}
96 107
 
108
+	/**
109
+	 * @param \Closure $callback
110
+	 */
97 111
 	protected function _getElementBy($callback,$elements){
98 112
 		if (\is_array($elements)) {
99 113
 			$flag=false;
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/datatable/DataTable.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
 	protected $_targetSelector;
36 36
 	protected $_checkedMessage;
37 37
 
38
+	/**
39
+	 * @param string $identifier
40
+	 * @param string $model
41
+	 */
38 42
 	public function __construct($identifier,$model,$modelInstance=NULL) {
39 43
 		parent::__construct($identifier, $model,$modelInstance);
40 44
 		$this->_init(new InstanceViewer($identifier), "table", new HtmlTable($identifier, 0,0), false);
@@ -74,6 +78,9 @@  discard block
 block discarded – undo
74 78
 				if(allChecked) {\$parentCheckbox.checkbox('set checked');}else if(allUnchecked){\$parentCheckbox.checkbox('set unchecked');}else{\$parentCheckbox.checkbox('set indeterminate');};".$checkedMessageCall);
75 79
 	}
76 80
 
81
+	/**
82
+	 * @param string $op
83
+	 */
77 84
 	protected function _generateBehavior($op,$params,JsUtils $js){
78 85
 		if(isset($this->_urls[$op])){
79 86
 			$params=\array_merge($params,["attr"=>"data-ajax"]);
@@ -211,6 +218,9 @@  discard block
 block discarded – undo
211 218
 		return $this;
212 219
 	}
213 220
 
221
+	/**
222
+	 * @param PositionInTable $part
223
+	 */
214 224
 	private function addToolbarRow($part,$table,$captions){
215 225
 		$hasPart=$table->hasPart($part);
216 226
 		if($hasPart){
Please login to merge, or discard this patch.