Completed
Push — master ( 8b7375...189ad5 )
by Jean-Christophe
03:49
created
Ajax/semantic/html/elements/HtmlIconGroups.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	protected $_tabsType="tabs";
21 21
 	protected $stacked="";
22 22
 
23
+	/**
24
+	 * @param string $identifier
25
+	 */
23 26
 	public function __construct($identifier, $tagName="ul") {
24 27
 		parent::__construct($identifier, $tagName);
25 28
 		$this->_template="<%tagName% %properties%>%tabs%</%tagName%>%content%";
Please login to merge, or discard this patch.
Ajax/common/html/BaseHtml.php 1 patch
Doc Comments   +38 added lines patch added patch discarded remove patch
@@ -130,6 +130,10 @@  discard block
 block discarded – undo
130 130
 		return $this;
131 131
 	}
132 132
 
133
+	/**
134
+	 * @param string $name
135
+	 * @param string[] $typeCtrl
136
+	 */
133 137
 	protected function setMemberCtrl(&$name, $value, $typeCtrl) {
134 138
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
135 139
 			return $name=$value;
@@ -145,22 +149,35 @@  discard block
 block discarded – undo
145 149
 		return $this;
146 150
 	}
147 151
 
152
+	/**
153
+	 * @param string $name
154
+	 */
148 155
 	protected function removePropertyValue($name, $value) {
149 156
 		$this->properties[$name]=\str_replace($value, "", $this->properties[$name]);
150 157
 		return $this;
151 158
 	}
152 159
 
160
+	/**
161
+	 * @param string $name
162
+	 */
153 163
 	protected function removePropertyValues($name, $values) {
154 164
 		$this->removeOldValues($this->properties[$name], $values);
155 165
 		return $this;
156 166
 	}
157 167
 
168
+	/**
169
+	 * @param string $name
170
+	 */
158 171
 	protected function removeProperty($name) {
159 172
 		if (\array_key_exists($name, $this->properties))
160 173
 			unset($this->properties[$name]);
161 174
 		return $this;
162 175
 	}
163 176
 
177
+	/**
178
+	 * @param string $name
179
+	 * @param string[] $typeCtrl
180
+	 */
164 181
 	protected function addToMemberCtrl(&$name, $value, $typeCtrl, $separator=" ") {
165 182
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
166 183
 			if (is_array($typeCtrl)) {
@@ -171,6 +188,9 @@  discard block
 block discarded – undo
171 188
 		return $this;
172 189
 	}
173 190
 
191
+	/**
192
+	 * @param string $name
193
+	 */
174 194
 	protected function addToMember(&$name, $value, $separator=" ") {
175 195
 		$name=str_ireplace($value, "", $name) . $separator . $value;
176 196
 		return $this;
@@ -185,6 +205,9 @@  discard block
 block discarded – undo
185 205
 		return $this->addToProperty($name, $value);
186 206
 	}
187 207
 
208
+	/**
209
+	 * @param string $name
210
+	 */
188 211
 	public function addToPropertyCtrl($name, $value, $typeCtrl) {
189 212
 		return $this->addToPropertyUnique($name, $value, $typeCtrl);
190 213
 	}
@@ -333,14 +356,23 @@  discard block
 block discarded – undo
333 356
 		return $this;
334 357
 	}
335 358
 
359
+	/**
360
+	 * @param string $event
361
+	 */
336 362
 	public function getOn($event, $url, $responseElement="", $parameters=array()) {
337 363
 		return $this->_ajaxOn("get", $event, $url, $responseElement, $parameters);
338 364
 	}
339 365
 
366
+	/**
367
+	 * @param string $url
368
+	 */
340 369
 	public function getOnClick($url, $responseElement="", $parameters=array()) {
341 370
 		return $this->getOn("click", $url, $responseElement, $parameters);
342 371
 	}
343 372
 
373
+	/**
374
+	 * @param string $event
375
+	 */
344 376
 	public function postOn($event, $url, $params="{}", $responseElement="", $parameters=array()) {
345 377
 		$parameters["params"]=$params;
346 378
 		return $this->_ajaxOn("post", $event, $url, $responseElement, $parameters);
@@ -350,6 +382,9 @@  discard block
 block discarded – undo
350 382
 		return $this->postOn("click", $url, $params, $responseElement, $parameters);
351 383
 	}
352 384
 
385
+	/**
386
+	 * @param string $event
387
+	 */
353 388
 	public function postFormOn($event, $url, $form, $responseElement="", $parameters=array()) {
354 389
 		$parameters["form"]=$form;
355 390
 		return $this->_ajaxOn("postForm", $event, $url, $responseElement, $parameters);
@@ -399,6 +434,9 @@  discard block
 block discarded – undo
399 434
 		return $value;
400 435
 	}
401 436
 
437
+	/**
438
+	 * @param string $jqueryCall
439
+	 */
402 440
 	public function jsDoJquery($jqueryCall, $param="") {
403 441
 		return "$('#" . $this->identifier . "')." . $jqueryCall . "(" . $this->_prep_value($param) . ");";
404 442
 	}
Please login to merge, or discard this patch.