Completed
Push — master ( e6529d...cd0fd2 )
by Jean-Christophe
03:35
created
Ajax/common/html/BaseHtml.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -108,6 +108,10 @@  discard block
 block discarded – undo
108 108
 		return true;
109 109
 	}
110 110
 
111
+	/**
112
+	 * @param string $propertyName
113
+	 * @param string $value
114
+	 */
111 115
 	protected function propertyContains($propertyName,$value){
112 116
 		$values=$this->getProperty($propertyName);
113 117
 		if(isset($values)){
@@ -137,6 +141,10 @@  discard block
 block discarded – undo
137 141
 		return $this;
138 142
 	}
139 143
 
144
+	/**
145
+	 * @param string $name
146
+	 * @param string[] $typeCtrl
147
+	 */
140 148
 	protected function addToMemberCtrl(&$name, $value, $typeCtrl, $separator=" ") {
141 149
 		if ($this->ctrl($name, $value, $typeCtrl)===true) {
142 150
 			if (is_array($typeCtrl)) {
@@ -161,6 +169,9 @@  discard block
 block discarded – undo
161 169
 		return $this->addToProperty($name, $value);
162 170
 	}
163 171
 
172
+	/**
173
+	 * @param string $name
174
+	 */
164 175
 	public function addToPropertyCtrl($name, $value, $typeCtrl) {
165 176
 		// if($this->ctrl($name, $value, $typeCtrl)===true){
166 177
 		return $this->addToPropertyUnique($name, $value, $typeCtrl);
@@ -228,6 +239,9 @@  discard block
 block discarded – undo
228 239
 
229 240
 	}
230 241
 
242
+	/**
243
+	 * @param string $before
244
+	 */
231 245
 	public function wrap($before, $after="") {
232 246
 		if(isset($before)){
233 247
 			$this->wrapBefore.=$before;
@@ -296,6 +310,9 @@  discard block
 block discarded – undo
296 310
 		}
297 311
 	}
298 312
 
313
+	/**
314
+	 * @param string $operation
315
+	 */
299 316
 	public function _ajaxOn($operation, $event, $url, $responseElement="", $parameters=array()) {
300 317
 		$params=array (
301 318
 				"url" => $url,
@@ -306,14 +323,23 @@  discard block
 block discarded – undo
306 323
 		return $this;
307 324
 	}
308 325
 
326
+	/**
327
+	 * @param string $event
328
+	 */
309 329
 	public function getOn($event, $url, $responseElement="", $parameters=array()) {
310 330
 		return $this->_ajaxOn("get", $event, $url, $responseElement, $parameters);
311 331
 	}
312 332
 
333
+	/**
334
+	 * @param string $url
335
+	 */
313 336
 	public function getOnClick($url, $responseElement="", $parameters=array()) {
314 337
 		return $this->getOn("click", $url, $responseElement, $parameters);
315 338
 	}
316 339
 
340
+	/**
341
+	 * @param string $event
342
+	 */
317 343
 	public function postOn($event, $url, $params="{}", $responseElement="", $parameters=array()) {
318 344
 		$parameters ["params"]=$params;
319 345
 		return $this->_ajaxOn("post", $event, $url, $responseElement, $parameters);
@@ -323,6 +349,9 @@  discard block
 block discarded – undo
323 349
 		return $this->postOn("click", $url, $params, $responseElement, $parameters);
324 350
 	}
325 351
 
352
+	/**
353
+	 * @param string $event
354
+	 */
326 355
 	public function postFormOn($event, $url, $form, $responseElement="", $parameters=array()) {
327 356
 		$parameters ["form"]=$form;
328 357
 		return $this->_ajaxOn("postForm", $event, $url, $responseElement, $parameters);
@@ -372,6 +401,9 @@  discard block
 block discarded – undo
372 401
 		return $value;
373 402
 	}
374 403
 
404
+	/**
405
+	 * @param string $jqueryCall
406
+	 */
375 407
 	public function jsDoJquery($jqueryCall, $param=""){
376 408
 		return "$('#".$this->identifier."').".$jqueryCall."(".$this->_prep_value($param).");";
377 409
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlMenu.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/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * return the row at $index
51 51
 	 * @param int $index
52
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
52
+	 * @return \Ajax\common\html\HtmlDoubleElement
53 53
 	 */
54 54
 	public function getRow($index){
55 55
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridRow.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@  discard block
 block discarded – undo
16 16
 class HtmlGridRow extends HtmlCollection{
17 17
 
18 18
 	private $_colSize;
19
+
20
+	/**
21
+	 * @param string $identifier
22
+	 */
19 23
 	public function __construct( $identifier,$numCols=NULL,$colSizing=false){
20 24
 		parent::__construct( $identifier,"div");
21 25
 		$this->setClass("row");
@@ -49,7 +53,7 @@  discard block
 block discarded – undo
49 53
 	/**
50 54
 	 * return the col at $index
51 55
 	 * @param int $index
52
-	 * @return \Ajax\semantic\html\collections\HtmlGridCol
56
+	 * @return \Ajax\common\html\HtmlDoubleElement
53 57
 	 */
54 58
 	public function getCol($index){
55 59
 		return $this->getItem($index);
Please login to merge, or discard this patch.