Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created
Ajax/Semantic.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,12 +36,15 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @param string $attachTo
38 38
 	 * @param string|array $params
39
-	 * @return $this
39
+	 * @return common\components\SimpleComponent
40 40
 	 */
41 41
 	public function popup($attachTo=NULL, $params=NULL) {
42 42
 		return $this->addComponent(new Popup($this->js), $attachTo, $params);
43 43
 	}
44 44
 
45
+	/**
46
+	 * @param string $attachTo
47
+	 */
45 48
 	public function dropdown($attachTo=NULL, $params=NULL) {
46 49
 		return $this->addComponent(new Dropdown($this->js), $attachTo, $params);
47 50
 	}
@@ -201,7 +204,7 @@  discard block
 block discarded – undo
201 204
 
202 205
 	/**
203 206
 	 * @param string $identifier
204
-	 * @param number $niveau
207
+	 * @param integer $niveau
205 208
 	 * @param mixed $content
206 209
 	 * @param string $type
207 210
 	 */
Please login to merge, or discard this patch.
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 * @param string $identifier
63 63
 	 * @param string $icon
64 64
 	 */
65
-	public function htmlIcon($identifier,$icon){
65
+	public function htmlIcon($identifier, $icon) {
66 66
 		return $this->addHtmlComponent(new HtmlIcon($identifier, $icon));
67 67
 	}
68 68
 
@@ -71,14 +71,14 @@  discard block
 block discarded – undo
71 71
 	 * @param string $size
72 72
 	 * @param array $icons
73 73
 	 */
74
-	public function htmlIconGroups($identifier,$size="",$icons=array()){
75
-		$group=new HtmlIconGroups($identifier,$size);
76
-		if(JArray::isAssociative($icons)){
77
-			foreach ($icons as $icon=>$size){
78
-				$group->add($icon,$size);
74
+	public function htmlIconGroups($identifier, $size="", $icons=array()) {
75
+		$group=new HtmlIconGroups($identifier, $size);
76
+		if (JArray::isAssociative($icons)) {
77
+			foreach ($icons as $icon=>$size) {
78
+				$group->add($icon, $size);
79 79
 			}
80
-		}else{
81
-			foreach ($icons as $icon){
80
+		}else {
81
+			foreach ($icons as $icon) {
82 82
 				$group->add($icon);
83 83
 			}
84 84
 		}
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
 	 * @param array $elements
91 91
 	 * @param boolean $asIcons
92 92
 	 */
93
-	public function htmlButtonGroups($identifier,$elements=array(),$asIcons=false){
94
-		return $this->addHtmlComponent(new HtmlButtonGroups($identifier, $elements,$asIcons));
93
+	public function htmlButtonGroups($identifier, $elements=array(), $asIcons=false) {
94
+		return $this->addHtmlComponent(new HtmlButtonGroups($identifier, $elements, $asIcons));
95 95
 	}
96 96
 
97 97
 	/**
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string $identifier
100 100
 	 * @param string $content
101 101
 	 */
102
-	public function htmlContainer($identifier,$content=""){
102
+	public function htmlContainer($identifier, $content="") {
103 103
 		return $this->addHtmlComponent(new HtmlContainer($identifier, $content));
104 104
 	}
105 105
 
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
 	 * @param string $identifier
108 108
 	 * @param string $content
109 109
 	 */
110
-	public function htmlDivider($identifier,$content="",$tagName="div"){
111
-		return $this->addHtmlComponent(new HtmlDivider($identifier, $content,$tagName));
110
+	public function htmlDivider($identifier, $content="", $tagName="div") {
111
+		return $this->addHtmlComponent(new HtmlDivider($identifier, $content, $tagName));
112 112
 	}
113 113
 
114 114
 	/**
@@ -116,32 +116,32 @@  discard block
 block discarded – undo
116 116
 	 * @param string $content
117 117
 	 * @param string $tagName
118 118
 	 */
119
-	public function htmlLabel($identifier,$content="",$tagName="div"){
120
-		return $this->addHtmlComponent(new HtmlLabel($identifier, $content,$tagName));
119
+	public function htmlLabel($identifier, $content="", $tagName="div") {
120
+		return $this->addHtmlComponent(new HtmlLabel($identifier, $content, $tagName));
121 121
 	}
122 122
 
123 123
 	/**
124 124
 	 * @param string $identifier
125 125
 	 * @param array $items
126 126
 	 */
127
-	public function htmlMenu($identifier,$items=array()){
128
-		return $this->addHtmlComponent(new HtmlMenu($identifier,$items));
127
+	public function htmlMenu($identifier, $items=array()) {
128
+		return $this->addHtmlComponent(new HtmlMenu($identifier, $items));
129 129
 	}
130 130
 
131 131
 	/**Adds an icon menu
132 132
 	 * @param string $identifier
133 133
 	 * @param array $items icons
134 134
 	 */
135
-	public function htmlIconMenu($identifier,$items=array()){
136
-		return $this->addHtmlComponent(new HtmlIconMenu($identifier,$items));
135
+	public function htmlIconMenu($identifier, $items=array()) {
136
+		return $this->addHtmlComponent(new HtmlIconMenu($identifier, $items));
137 137
 	}
138 138
 
139 139
 	/**Adds an labeled icon menu
140 140
 	 * @param string $identifier
141 141
 	 * @param array $items icons
142 142
 	 */
143
-	public function htmlLabeledIconMenu($identifier,$items=array()){
144
-		return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier,$items));
143
+	public function htmlLabeledIconMenu($identifier, $items=array()) {
144
+		return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier, $items));
145 145
 	}
146 146
 
147 147
 	/**
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
 	 * @param string $value
150 150
 	 * @param array $items
151 151
 	 */
152
-	public function htmlDropdown($identifier, $value="", $items=array()){
153
-		return $this->addHtmlComponent(new HtmlDropdown($identifier,$value,$items));
152
+	public function htmlDropdown($identifier, $value="", $items=array()) {
153
+		return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items));
154 154
 	}
155 155
 
156 156
 	/**
@@ -158,8 +158,8 @@  discard block
 block discarded – undo
158 158
 	 * @param string $identifier
159 159
 	 * @param string $content
160 160
 	 */
161
-	public function htmlMessage($identifier, $content=""){
162
-		return $this->addHtmlComponent(new HtmlMessage($identifier,$content));
161
+	public function htmlMessage($identifier, $content="") {
162
+		return $this->addHtmlComponent(new HtmlMessage($identifier, $content));
163 163
 	}
164 164
 
165 165
 	/**
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
 	 * @param string $identifier
168 168
 	 * @param string $content
169 169
 	 */
170
-	public function htmlSegment($identifier, $content=""){
171
-		return $this->addHtmlComponent(new HtmlSegment($identifier,$content));
170
+	public function htmlSegment($identifier, $content="") {
171
+		return $this->addHtmlComponent(new HtmlSegment($identifier, $content));
172 172
 	}
173 173
 
174 174
 	/**
@@ -176,16 +176,16 @@  discard block
 block discarded – undo
176 176
 	 * @param string $identifier
177 177
 	 * @param array $items the segments
178 178
 	 */
179
-	public function htmlSegmentGroups($identifier, $items=array()){
180
-		return $this->addHtmlComponent(new HtmlSegmentGroups($identifier,$items));
179
+	public function htmlSegmentGroups($identifier, $items=array()) {
180
+		return $this->addHtmlComponent(new HtmlSegmentGroups($identifier, $items));
181 181
 	}
182 182
 
183 183
 	/**
184 184
 	 * @param string $identifier
185 185
 	 * @param mixed $content
186 186
 	 */
187
-	public function htmlPopup(BaseHtml $container,$identifier,$content){
188
-		return $this->addHtmlComponent(new HtmlPopup($container,$identifier,$content));
187
+	public function htmlPopup(BaseHtml $container, $identifier, $content) {
188
+		return $this->addHtmlComponent(new HtmlPopup($container, $identifier, $content));
189 189
 	}
190 190
 
191 191
 	/**
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
 	 * @param boolean $createCols
196 196
 	 * @param boolean $implicitRows
197 197
 	 */
198
-	public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){
199
-		return $this->addHtmlComponent(new HtmlGrid($identifier,$numRows,$numCols,$createCols,$implicitRows));
198
+	public function htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) {
199
+		return $this->addHtmlComponent(new HtmlGrid($identifier, $numRows, $numCols, $createCols, $implicitRows));
200 200
 	}
201 201
 
202 202
 	/**
@@ -205,11 +205,11 @@  discard block
 block discarded – undo
205 205
 	 * @param mixed $content
206 206
 	 * @param string $type
207 207
 	 */
208
-	public function htmlHeader($identifier,$niveau=1,$content=NULL,$type="page"){
209
-		return $this->addHtmlComponent(new HtmlHeader($identifier,$niveau,$content,$type));
208
+	public function htmlHeader($identifier, $niveau=1, $content=NULL, $type="page") {
209
+		return $this->addHtmlComponent(new HtmlHeader($identifier, $niveau, $content, $type));
210 210
 	}
211 211
 
212
-	public function htmlInput($identifier,$value="",$type="text",$placeholder=""){
213
-		return $this->addHtmlComponent(new HtmlInput($identifier,$value="",$type="text",$placeholder=""));
212
+	public function htmlInput($identifier, $value="", $type="text", $placeholder="") {
213
+		return $this->addHtmlComponent(new HtmlInput($identifier, $value="", $type="text", $placeholder=""));
214 214
 	}
215 215
 }
216 216
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/AttachedTrait.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Ajax\semantic\html\base\constants\Side;
5 5
 trait AttachedTrait {
6 6
 	/**
7
-	 * @param string $side
8 7
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
9 8
 	 */
10 9
 	public function setAttachment($value=Side::BOTH){
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 	 * @param string $side
8 8
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
9 9
 	 */
10
-	public function setAttachment($value=Side::BOTH){
11
-			return $this->addToPropertyCtrl("class",$value." attached",Side::getConstantValues("attached"));
10
+	public function setAttachment($value=Side::BOTH) {
11
+			return $this->addToPropertyCtrl("class", $value." attached", Side::getConstantValues("attached"));
12 12
 	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/common/BaseEnum.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 	public static function getConstants() {
15 15
 		if (self::$constCacheArray==NULL) {
16
-			self::$constCacheArray=[ ];
16
+			self::$constCacheArray=[];
17 17
 		}
18 18
 		$calledClass=get_called_class();
19 19
 		if (!array_key_exists($calledClass, self::$constCacheArray)) {
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
 		return self::$constCacheArray [$calledClass];
24 24
 	}
25 25
 
26
-	public static function getConstantValues($postFix=""){
27
-		if($postFix!=="")
26
+	public static function getConstantValues($postFix="") {
27
+		if ($postFix!=="")
28 28
 			return \array_values(self::getConstants());
29
-		else{
30
-			return \array_map(function ($elem) use ($postFix) {return $elem." ".$postFix;},\array_values(self::getConstants()));
29
+		else {
30
+			return \array_map(function($elem) use ($postFix) {return $elem." ".$postFix; },\array_values(self::getConstants()));
31 31
 		}
32 32
 	}
33 33
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
 	}
25 25
 
26 26
 	public static function getConstantValues($postFix=""){
27
-		if($postFix!=="")
28
-			return \array_values(self::getConstants());
29
-		else{
27
+		if($postFix!=="") {
28
+					return \array_values(self::getConstants());
29
+		} else{
30 30
 			return \array_map(function ($elem) use ($postFix) {return $elem." ".$postFix;},\array_values(self::getConstants()));
31 31
 		}
32 32
 	}
Please login to merge, or discard this patch.
Ajax/common/html/BaseHtml.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
 abstract class BaseHtml extends BaseWidget {
17 17
 	protected $_template;
18 18
 	protected $tagName;
19
-	protected $properties=array ();
20
-	protected $events=array ();
19
+	protected $properties=array();
20
+	protected $events=array();
21 21
 	protected $wrapBefore="";
22 22
 	protected $wrapAfter="";
23 23
 	protected $_bsComponent;
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
 	public function addToProperty($name, $value, $separator=" ") {
58 58
 		$v=@$this->properties[$name];
59
-		if (isset($v)&&$v!=="")
59
+		if (isset($v) && $v!=="")
60 60
 			$v=$v.$separator.$value;
61 61
 		else
62 62
 			$v=$value;
@@ -71,11 +71,11 @@  discard block
 block discarded – undo
71 71
 
72 72
 	public function compile(JsUtils $js=NULL, View $view=NULL) {
73 73
 		$result=$this->getTemplate();
74
-		foreach ( $this as $key => $value ) {
75
-			if (PhalconUtils::startsWith($key, "_")===false&&$key!=="events") {
74
+		foreach ($this as $key => $value) {
75
+			if (PhalconUtils::startsWith($key, "_")===false && $key!=="events") {
76 76
 				if (is_array($value)) {
77 77
 					$v=PropertyWrapper::wrap($value, $js);
78
-				} else {
78
+				}else {
79 79
 					$v=$value;
80 80
 				}
81 81
 				$result=str_ireplace("%".$key."%", $v, $result);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 		if (isset($view)===true) {
88 88
 			$controls=$view->getVar("q");
89 89
 			if (isset($controls)===false) {
90
-				$controls=array ();
90
+				$controls=array();
91 91
 			}
92 92
 			$controls [$this->identifier]=$result;
93 93
 			$view->setVar("q", $controls);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 			if (array_search($value, $typeCtrl)===false) {
101 101
 				throw new \Exception("La valeur passée a propriété `".$name."` ne fait pas partie des valeurs possibles : {".implode(",", $typeCtrl)."}");
102 102
 			}
103
-		} else {
103
+		}else {
104 104
 			if (!$typeCtrl($value)) {
105 105
 				throw new \Exception("La fonction ".$typeCtrl." a retourné faux pour l'affectation de la propriété ".$name);
106 106
 			}
@@ -108,9 +108,9 @@  discard block
 block discarded – undo
108 108
 		return true;
109 109
 	}
110 110
 
111
-	protected function propertyContains($propertyName,$value){
111
+	protected function propertyContains($propertyName, $value) {
112 112
 		$values=$this->getProperty($propertyName);
113
-		if(isset($values)){
113
+		if (isset($values)) {
114 114
 			return JString::contains($values, $value);
115 115
 		}
116 116
 		return false;
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 		return $this;
138 138
 	}
139 139
 
140
-	protected function removePropertyValue($name,$value){
140
+	protected function removePropertyValue($name, $value) {
141 141
 		$this->properties[$name]=\str_replace($value, "", $this->properties[$name]);
142 142
 	}
143 143
 
@@ -189,28 +189,28 @@  discard block
 block discarded – undo
189 189
 	}
190 190
 
191 191
 	public function fromArray($array) {
192
-		foreach ( $this as $key => $value ) {
192
+		foreach ($this as $key => $value) {
193 193
 			if (array_key_exists($key, $array) && !PhalconUtils::startsWith($key, "_")) {
194 194
 					$setter="set".ucfirst($key);
195 195
 					$this->$setter($array [$key]);
196 196
 				unset($array [$key]);
197 197
 			}
198 198
 		}
199
-		foreach ( $array as $key => $value ) {
199
+		foreach ($array as $key => $value) {
200 200
 			if (method_exists($this, $key)) {
201 201
 				try {
202 202
 					$this->$key($value);
203 203
 					unset($array [$key]);
204
-				} catch ( \Exception $e ) {
204
+				} catch (\Exception $e) {
205 205
 					// Nothing to do
206 206
 				}
207
-			} else {
207
+			}else {
208 208
 				$setter="set".ucfirst($key);
209 209
 				if (method_exists($this, $setter)) {
210 210
 					try {
211 211
 						$this->$setter($value);
212 212
 						unset($array [$key]);
213
-					} catch ( \Exception $e ) {
213
+					} catch (\Exception $e) {
214 214
 						// Nothing to do
215 215
 					}
216 216
 				}
@@ -219,21 +219,21 @@  discard block
 block discarded – undo
219 219
 		return $array;
220 220
 	}
221 221
 
222
-	public function fromDatabaseObjects($objects,$function) {
223
-		if(isset($objects)){
224
-			foreach ($objects as $object){
225
-				$this->fromDatabaseObject($object,$function);
222
+	public function fromDatabaseObjects($objects, $function) {
223
+		if (isset($objects)) {
224
+			foreach ($objects as $object) {
225
+				$this->fromDatabaseObject($object, $function);
226 226
 			}
227 227
 		}
228 228
 		return $this;
229 229
 	}
230 230
 
231
-	public function fromDatabaseObject($object,$function){
231
+	public function fromDatabaseObject($object, $function) {
232 232
 
233 233
 	}
234 234
 
235 235
 	public function wrap($before, $after="") {
236
-		if(isset($before)){
236
+		if (isset($before)) {
237 237
 			$this->wrapBefore.=$before;
238 238
 		}
239 239
 		$this->wrapAfter=$after.$this->wrapAfter;
@@ -255,13 +255,13 @@  discard block
 block discarded – undo
255 255
 		if (array_key_exists($event, $this->events)) {
256 256
 			if (is_array($this->events [$event])) {
257 257
 				$this->events [$event] []=$jsCode;
258
-			} else {
259
-				$this->events [$event]=array (
258
+			}else {
259
+				$this->events [$event]=array(
260 260
 						$this->events [$event],
261 261
 						$jsCode
262 262
 				);
263 263
 			}
264
-		} else {
264
+		}else {
265 265
 			$this->events [$event]=$jsCode;
266 266
 		}
267 267
 	}
@@ -280,14 +280,14 @@  discard block
 block discarded – undo
280 280
 
281 281
 	public function addEventsOnRun(JsUtils $js) {
282 282
 		if (isset($this->_bsComponent)) {
283
-			foreach ( $this->events as $event => $jsCode ) {
283
+			foreach ($this->events as $event => $jsCode) {
284 284
 				$code=$jsCode;
285 285
 				if (is_array($jsCode)) {
286 286
 					$code="";
287
-					foreach ( $jsCode as $jsC ) {
287
+					foreach ($jsCode as $jsC) {
288 288
 						if ($jsC instanceof AjaxCall) {
289 289
 							$code.="\n".$jsC->compile($js);
290
-						} else {
290
+						}else {
291 291
 							$code.="\n".$jsC;
292 292
 						}
293 293
 					}
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 	}
302 302
 
303 303
 	public function _ajaxOn($operation, $event, $url, $responseElement="", $parameters=array()) {
304
-		$params=array (
304
+		$params=array(
305 305
 				"url" => $url,
306 306
 				"responseElement" => $responseElement
307 307
 		);
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
 		if (is_array($elements)) {
341 341
 			$flag=false;
342 342
 			$index=0;
343
-			while ( !$flag&&$index<sizeof($elements) ) {
343
+			while (!$flag && $index<sizeof($elements)) {
344 344
 				if ($elements [$index] instanceof BaseHtml)
345 345
 					$flag=($elements [$index]->getIdentifier()===$identifier);
346 346
 				$index++;
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
 		return null;
355 355
 	}
356 356
 
357
-	public function __toString(){
357
+	public function __toString() {
358 358
 		return $this->compile();
359 359
 	}
360 360
 
@@ -370,25 +370,25 @@  discard block
 block discarded – undo
370 370
 		if (is_array($value)) {
371 371
 			$value=implode(",", $value);
372 372
 		}
373
-		if (strrpos($value, 'this')===false&&strrpos($value, 'event')===false) {
373
+		if (strrpos($value, 'this')===false && strrpos($value, 'event')===false) {
374 374
 			$value='"'.$value.'"';
375 375
 		}
376 376
 		return $value;
377 377
 	}
378 378
 
379
-	public function jsDoJquery($jqueryCall, $param=""){
379
+	public function jsDoJquery($jqueryCall, $param="") {
380 380
 		return "$('#".$this->identifier."').".$jqueryCall."(".$this->_prep_value($param).");";
381 381
 	}
382 382
 
383
-	public function jsHtml($content=""){
384
-		return $this->jsDoJquery("html",$content);
383
+	public function jsHtml($content="") {
384
+		return $this->jsDoJquery("html", $content);
385 385
 	}
386 386
 
387
-	public function jsShow(){
387
+	public function jsShow() {
388 388
 		return $this->jsDoJquery("show");
389 389
 	}
390 390
 
391
-	public function jsHide(){
391
+	public function jsHide() {
392 392
 		return $this->jsDoJquery("hide");
393 393
 	}
394 394
 }
395 395
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/HtmlSemCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  * @author jc
10 10
  * @version 1.001
11 11
  */
12
-abstract class HtmlSemCollection extends HtmlCollection{
12
+abstract class HtmlSemCollection extends HtmlCollection {
13 13
 	use BaseTrait;
14
-	public function __construct( $identifier, $tagName="div",$baseClass="ui"){
15
-		parent::__construct( $identifier, $tagName="div");
14
+	public function __construct($identifier, $tagName="div", $baseClass="ui") {
15
+		parent::__construct($identifier, $tagName="div");
16 16
 		$this->_baseClass=$baseClass;
17 17
 		$this->setClass($baseClass);
18 18
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/base/HtmlSemSingleElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
 class HtmlSemSingleElement extends HtmlSingleElement {
15 15
 	use BaseTrait;
16
-	public function __construct($identifier, $tagName="br",$baseClass="ui") {
16
+	public function __construct($identifier, $tagName="br", $baseClass="ui") {
17 17
 		parent::__construct($identifier, $tagName);
18 18
 		$this->_baseClass=$baseClass;
19 19
 		$this->setClass($baseClass);
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Direction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,5 +2,5 @@
 block discarded – undo
2 2
 namespace Ajax\semantic\html\base\constants;
3 3
 	use Ajax\common\BaseEnum;
4 4
 abstract class Direction extends BaseEnum {
5
-	const RIGHT="right", LEFT="left",NONE="";
5
+	const RIGHT="right", LEFT="left", NONE="";
6 6
 }
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Sens.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,5 +2,5 @@
 block discarded – undo
2 2
 namespace Ajax\semantic\html\base\constants;
3 3
 	use Ajax\common\BaseEnum;
4 4
 abstract class Sens extends BaseEnum {
5
-	const VERTICAL="vertical", HORIZONTAL="horizontal",NONE="";
5
+	const VERTICAL="vertical", HORIZONTAL="horizontal", NONE="";
6 6
 }
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/VerticalAlignment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 use Ajax\common\BaseEnum;
6 6
 
7 7
 class VerticalAlignment extends BaseEnum {
8
-	const TOP="top",MIDDLE="middle",BOTTOM="bottom";
8
+	const TOP="top", MIDDLE="middle", BOTTOM="bottom";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.