Completed
Push — master ( b9a8b8...3e8704 )
by Jean-Christophe
03:43
created
Ajax/bootstrap/html/HtmlPagination.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
 	/**
44 44
 	 * @param string $identifier
45
+	 * @param integer $active
45 46
 	 */
46 47
 	public function __construct($identifier,$from=1,$to=1,$active=NULL,$countVisible=NULL){
47 48
 		parent::__construct($identifier,"ul");
@@ -57,6 +58,9 @@  discard block
 block discarded – undo
57 58
 		$this->createContent();
58 59
 	}
59 60
 
61
+	/**
62
+	 * @param integer $num
63
+	 */
60 64
 	private function createElement($num,$content,$disabled=false,$current=false){
61 65
 		$count=sizeof($this->content)+1;
62 66
 		$elem=new HtmlBsDoubleElement("li-".$this->identifier."-".$count,"li");
@@ -168,6 +172,10 @@  discard block
 block discarded – undo
168 172
 	public function getActive() {
169 173
 		return $this->active;
170 174
 	}
175
+
176
+	/**
177
+	 * @param integer $active
178
+	 */
171 179
 	public function setActive($active) {
172 180
 		$this->active = $active;
173 181
 		$this->createContent();
Please login to merge, or discard this patch.
Ajax/common/html/BaseHtml.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
 		return $this;
49 49
 	}
50 50
 
51
+	/**
52
+	 * @param string $name
53
+	 */
51 54
 	public function getProperty($name) {
52 55
 		if (array_key_exists($name, $this->properties))
53 56
 			return $this->properties [$name];
@@ -128,6 +131,10 @@  discard block
 block discarded – undo
128 131
 		return $this;
129 132
 	}
130 133
 
134
+	/**
135
+	 * @param string $name
136
+	 * @param string[] $typeCtrl
137
+	 */
131 138
 	protected function addToMemberCtrl(&$name, $value, $typeCtrl, $separator=" ") {
132 139
 		if ($this->ctrl($name, $value, $typeCtrl)===true) {
133 140
 			if (is_array($typeCtrl)) {
@@ -152,6 +159,9 @@  discard block
 block discarded – undo
152 159
 		return $this->addToProperty($name, $value);
153 160
 	}
154 161
 
162
+	/**
163
+	 * @param string $name
164
+	 */
155 165
 	public function addToPropertyCtrl($name, $value, $typeCtrl) {
156 166
 		// if($this->ctrl($name, $value, $typeCtrl)===true){
157 167
 		return $this->addToPropertyUnique($name, $value, $typeCtrl);
@@ -219,6 +229,9 @@  discard block
 block discarded – undo
219 229
 
220 230
 	}
221 231
 
232
+	/**
233
+	 * @param string $before
234
+	 */
222 235
 	public function wrap($before, $after="") {
223 236
 		if(isset($before)){
224 237
 			$this->wrapBefore.=$before;
@@ -287,6 +300,9 @@  discard block
 block discarded – undo
287 300
 		}
288 301
 	}
289 302
 
303
+	/**
304
+	 * @param string $operation
305
+	 */
290 306
 	public function _ajaxOn($operation, $event, $url, $responseElement="", $parameters=array()) {
291 307
 		$params=array (
292 308
 				"url" => $url,
@@ -297,14 +313,23 @@  discard block
 block discarded – undo
297 313
 		return $this;
298 314
 	}
299 315
 
316
+	/**
317
+	 * @param string $event
318
+	 */
300 319
 	public function getOn($event, $url, $responseElement="", $parameters=array()) {
301 320
 		return $this->_ajaxOn("get", $event, $url, $responseElement, $parameters);
302 321
 	}
303 322
 
323
+	/**
324
+	 * @param string $url
325
+	 */
304 326
 	public function getOnClick($url, $responseElement="", $parameters=array()) {
305 327
 		return $this->getOn("click", $url, $responseElement, $parameters);
306 328
 	}
307 329
 
330
+	/**
331
+	 * @param string $event
332
+	 */
308 333
 	public function postOn($event, $url, $params="{}", $responseElement="", $parameters=array()) {
309 334
 		$parameters ["params"]=$params;
310 335
 		return $this->_ajaxOn("post", $event, $url, $responseElement, $parameters);
@@ -314,6 +339,9 @@  discard block
 block discarded – undo
314 339
 		return $this->postOn("click", $url, $params, $responseElement, $parameters);
315 340
 	}
316 341
 
342
+	/**
343
+	 * @param string $event
344
+	 */
317 345
 	public function postFormOn($event, $url, $form, $responseElement="", $parameters=array()) {
318 346
 		$parameters ["form"]=$form;
319 347
 		return $this->_ajaxOn("postForm", $event, $url, $responseElement, $parameters);
@@ -363,6 +391,9 @@  discard block
 block discarded – undo
363 391
 		return $value;
364 392
 	}
365 393
 
394
+	/**
395
+	 * @param string $jqueryCall
396
+	 */
366 397
 	public function jsDoJquery($jqueryCall, $param=""){
367 398
 		return "$('#".$this->identifier."').".$jqueryCall."(".$this->_prep_value($param).");";
368 399
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/HtmlIcon.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -40,6 +40,7 @@
 block discarded – undo
40 40
 	/**
41 41
 	 * {@inheritDoc}
42 42
 	 * @see \Ajax\common\html\HtmlSingleElement::setSize()
43
+	 * @param string $size
43 44
 	 */
44 45
 	public function setSize($size) {
45 46
 		$this->setMemberCtrl($this->size, $size,IconSize::getConstants());
Please login to merge, or discard this patch.