Completed
Push — master ( 6831db...b65ced )
by Jean-Christophe
03:10
created
Ajax/common/html/BaseHtml.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -71,6 +71,10 @@  discard block
 block discarded – undo
71 71
 
72 72
 
73 73
 
74
+	/**
75
+	 * @param string $name
76
+	 * @param string[] $typeCtrl
77
+	 */
74 78
 	protected function setMemberCtrl(&$name, $value, $typeCtrl) {
75 79
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
76 80
 			return $name=$value;
@@ -88,6 +92,10 @@  discard block
 block discarded – undo
88 92
 
89 93
 
90 94
 
95
+	/**
96
+	 * @param string $name
97
+	 * @param string[] $typeCtrl
98
+	 */
91 99
 	protected function addToMemberCtrl(&$name, $value, $typeCtrl, $separator=" ") {
92 100
 		if ($this->ctrl($name, $value, $typeCtrl) === true) {
93 101
 			if (\is_array($typeCtrl)) {
@@ -98,6 +106,9 @@  discard block
 block discarded – undo
98 106
 		return $this;
99 107
 	}
100 108
 
109
+	/**
110
+	 * @param string $name
111
+	 */
101 112
 	protected function addToMember(&$name, $value, $separator=" ") {
102 113
 		$name=str_ireplace($value, "", $name) . $separator . $value;
103 114
 		return $this;
Please login to merge, or discard this patch.
Ajax/common/html/traits/BaseHtmlPropertiesTrait.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -52,11 +52,17 @@  discard block
 block discarded – undo
52 52
 		return $this;
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param string $name
57
+	 */
55 58
 	protected function removePropertyValue($name, $value) {
56 59
 		$this->properties[$name]=\str_replace($value, "", $this->properties[$name]);
57 60
 		return $this;
58 61
 	}
59 62
 
63
+	/**
64
+	 * @param string $name
65
+	 */
60 66
 	protected function removePropertyValues($name, $values) {
61 67
 		$this->removeOldValues($this->properties[$name], $values);
62 68
 		return $this;
@@ -71,6 +77,9 @@  discard block
 block discarded – undo
71 77
 			return $this->addToProperty($name, $value);
72 78
 	}
73 79
 
80
+	/**
81
+	 * @param string $name
82
+	 */
74 83
 	public function addToPropertyCtrl($name, $value, $typeCtrl) {
75 84
 		return $this->addToPropertyUnique($name, $value, $typeCtrl);
76 85
 	}
@@ -82,6 +91,9 @@  discard block
 block discarded – undo
82 91
 		return $this;
83 92
 	}
84 93
 
94
+	/**
95
+	 * @param string $name
96
+	 */
85 97
 	public function removeProperty($name) {
86 98
 		if (\array_key_exists($name, $this->properties))
87 99
 			unset($this->properties[$name]);
@@ -102,6 +114,10 @@  discard block
 block discarded – undo
102 114
 			return $this;
103 115
 	}
104 116
 
117
+	/**
118
+	 * @param string $propertyName
119
+	 * @param string $value
120
+	 */
105 121
 	protected function getElementByPropertyValue($propertyName,$value, $elements) {
106 122
 		if (\is_array($elements)) {
107 123
 			$flag=false;
Please login to merge, or discard this patch.