Completed
Push — master ( 263c12...bbe42f )
by Jean-Christophe
06:53
created
Ajax/semantic/html/content/view/HtmlViewContent.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
 
13 13
 class HtmlViewContent extends HtmlSemDoubleElement {
14 14
 	use ContentPartTrait;
15
+
16
+	/**
17
+	 * @param string $identifier
18
+	 */
15 19
 	public function __construct($identifier, $content=array()) {
16 20
 		parent::__construct($identifier, "div", "content",[]);
17 21
 		$this->setContent($content);
Please login to merge, or discard this patch.
Ajax/common/traits/JsUtilsActionsTrait.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,6 +10,11 @@  discard block
 block discarded – undo
10 10
  */
11 11
 trait JsUtilsActionsTrait {
12 12
 
13
+	/**
14
+	 * @param string $element
15
+	 * @param string $js
16
+	 * @param string $event
17
+	 */
13 18
 	abstract public function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true);
14 19
 	/**
15 20
 	 * show or hide with effect
@@ -34,7 +39,7 @@  discard block
 block discarded – undo
34 39
 	}
35 40
 	/**
36 41
 	 * Ensures the speed parameter is valid for jQuery
37
-	 * @param string|int $speed
42
+	 * @param string $speed
38 43
 	 * @return string
39 44
 	 */
40 45
 	private function _validate_speed($speed) {
@@ -363,7 +368,7 @@  discard block
 block discarded – undo
363 368
 	 *
364 369
 	 * @param string $element
365 370
 	 * @param array $options
366
-	 * @return void
371
+	 * @return string
367 372
 	 */
368 373
 	public function sortable($element, $options=array()) {
369 374
 		if (count($options)>0) {
@@ -434,7 +439,7 @@  discard block
 block discarded – undo
434 439
 	 * @param string $jqueryCall the JQuery callback
435 440
 	 * @param mixed $param array or string parameters
436 441
 	 * @param string $jsCallback javascript code to execute after the jquery call
437
-	 * @return mixed
442
+	 * @return string
438 443
 	 */
439 444
 	public function doJQuery($element, $jqueryCall, $param="", $jsCallback="") {
440 445
 		return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, true);
@@ -446,7 +451,7 @@  discard block
 block discarded – undo
446 451
 	 * @param string $jqueryCall the JQuery callback
447 452
 	 * @param mixed $param array or string parameters
448 453
 	 * @param string $jsCallback javascript code to execute after the jquery call
449
-	 * @return mixed
454
+	 * @return string
450 455
 	 */
451 456
 	public function doJQueryDeferred($element, $jqueryCall, $param="", $jsCallback="") {
452 457
 		return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, false);
@@ -458,7 +463,7 @@  discard block
 block discarded – undo
458 463
 	 * @param string $element
459 464
 	 * @param string $elementToModify
460 465
 	 * @param string $jqueryCall
461
-	 * @param string|array $param
466
+	 * @param string $param
462 467
 	 * @param boolean $preventDefault
463 468
 	 * @param boolean $stopPropagation
464 469
 	 * @param string $jsCallback javascript code to execute after the jquery call
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlForm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
 		return $result;
88 88
 	}
89 89
 
90
+	/**
91
+	 * @return string
92
+	 */
90 93
 	protected function getPrefix($element) {
91 94
 		$result="input_text";
92 95
 		foreach ( $this->formElementsPrefix as $k => $v ) {
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlProgressbar.php 1 patch
Doc Comments   +16 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
 	protected $style="";
20 20
 	protected $styleLimits=null;
21 21
 
22
+	/**
23
+	 * @param string $identifier
24
+	 */
22 25
 	public function __construct($identifier, $style="info", $value=0, $max=100, $min=0) {
23 26
 		parent::__construct($identifier);
24 27
 		$this->_template=include 'templates/tplProgressbar.php';
@@ -28,6 +31,9 @@  discard block
 block discarded – undo
28 31
 		$this->setStyle($style);
29 32
 	}
30 33
 
34
+	/**
35
+	 * @param boolean $value
36
+	 */
31 37
 	public function setActive($value) {
32 38
 		if(\is_array($this->content)){
33 39
 			foreach ($this->content as $pb){
@@ -42,6 +48,9 @@  discard block
 block discarded – undo
42 48
 		return $this;
43 49
 	}
44 50
 
51
+	/**
52
+	 * @param boolean $value
53
+	 */
45 54
 	public function setStriped($value) {
46 55
 		if(\is_array($this->content)){
47 56
 			foreach ($this->content as $pb){
@@ -56,6 +65,9 @@  discard block
 block discarded – undo
56 65
 		return $this;
57 66
 	}
58 67
 
68
+	/**
69
+	 * @param boolean $value
70
+	 */
59 71
 	public function showCaption($value) {
60 72
 		if(\is_array($this->content)){
61 73
 			foreach ($this->content as $pb){
@@ -113,6 +125,9 @@  discard block
 block discarded – undo
113 125
 		return $this->stacked;
114 126
 	}
115 127
 
128
+	/**
129
+	 * @param boolean $stacked
130
+	 */
116 131
 	public function setStacked($stacked) {
117 132
 		$this->stacked=$stacked;
118 133
 		return $this;
@@ -121,7 +136,7 @@  discard block
 block discarded – undo
121 136
 	/**
122 137
 	 * define the progressbar style
123 138
 	 * avaible values : "success","info","warning","danger"
124
-	 * @param string|int $cssStyle
139
+	 * @param string $cssStyle
125 140
 	 * @return \Ajax\bootstrap\html\HtmlProgressbar default : ""
126 141
 	 */
127 142
 	public function setStyle($cssStyle) {
Please login to merge, or discard this patch.