@@ -10,23 +10,23 @@ |
||
| 10 | 10 | * @param string $value |
| 11 | 11 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
| 12 | 12 | */ |
| 13 | - public function setTextAlignment($value=TextAlignment::LEFT){ |
|
| 14 | - return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants()); |
|
| 13 | + public function setTextAlignment($value=TextAlignment::LEFT) { |
|
| 14 | + return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants()); |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | - public function textCenterAligned(){ |
|
| 17 | + public function textCenterAligned() { |
|
| 18 | 18 | return $this->setTextAlignment(TextAlignment::CENTER); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function textJustified(){ |
|
| 21 | + public function textJustified() { |
|
| 22 | 22 | return $this->setTextAlignment(TextAlignment::JUSTIFIED); |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public function textRightAligned(){ |
|
| 25 | + public function textRightAligned() { |
|
| 26 | 26 | return $this->setTextAlignment(TextAlignment::RIGHT); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - public function textLeftAligned(){ |
|
| 29 | + public function textLeftAligned() { |
|
| 30 | 30 | return $this->setTextAlignment(); |
| 31 | 31 | } |
| 32 | 32 | } |
| 33 | 33 | \ No newline at end of file |
@@ -13,7 +13,7 @@ |
||
| 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); |
@@ -2,5 +2,5 @@ |
||
| 2 | 2 | namespace Ajax\semantic\html\base\constants; |
| 3 | 3 | use Ajax\common\BaseEnum; |
| 4 | 4 | abstract class Size extends BaseEnum { |
| 5 | - const MASSIVE="massive",HUGE="huge",BIG="big",LARGE="large",MEDIUM="",SMALL="small",TINY="tiny",MINI="mini"; |
|
| 5 | + const MASSIVE="massive", HUGE="huge", BIG="big", LARGE="large", MEDIUM="", SMALL="small", TINY="tiny", MINI="mini"; |
|
| 6 | 6 | } |
| 7 | 7 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | use Ajax\common\BaseEnum; |
| 6 | 6 | |
| 7 | 7 | abstract class StepStatus extends BaseEnum { |
| 8 | - const ACTIVE="active",COMPLETED="completed",DISABLED="disabled",NONE=""; |
|
| 8 | + const ACTIVE="active", COMPLETED="completed", DISABLED="disabled", NONE=""; |
|
| 9 | 9 | } |
| 10 | 10 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | use Ajax\common\BaseEnum; |
| 6 | 6 | |
| 7 | 7 | abstract class Side extends BaseEnum { |
| 8 | - const BOTTOM="bottom",BOTH="",TOP="top"; |
|
| 8 | + const BOTTOM="bottom", BOTH="", TOP="top"; |
|
| 9 | 9 | } |
| 10 | 10 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | use Ajax\common\BaseEnum; |
| 6 | 6 | |
| 7 | 7 | abstract class Style extends BaseEnum { |
| 8 | - const INFO="info",SUCCESS="success",POSITIVE="positive",WARNING="warning",ERROR="error",NEGATIVE="negative"; |
|
| 8 | + const INFO="info", SUCCESS="success", POSITIVE="positive", WARNING="warning", ERROR="error", NEGATIVE="negative"; |
|
| 9 | 9 | } |
| 10 | 10 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | use Ajax\common\BaseEnum; |
| 6 | 6 | |
| 7 | 7 | abstract class Emphasis extends BaseEnum { |
| 8 | - const PRIMARY="primary",SECONDARY="secondary",TERTIARY="tertiary"; |
|
| 8 | + const PRIMARY="primary", SECONDARY="secondary", TERTIARY="tertiary"; |
|
| 9 | 9 | } |
| 10 | 10 | \ No newline at end of file |
@@ -2,5 +2,5 @@ |
||
| 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 |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | use Ajax\common\BaseEnum; |
| 6 | 6 | |
| 7 | 7 | abstract class SegmentType extends BaseEnum { |
| 8 | - const RAISED="raised",STACKED="stacked",PILED="piled",NORMAL=""; |
|
| 8 | + const RAISED="raised", STACKED="stacked", PILED="piled", NORMAL=""; |
|
| 9 | 9 | } |
| 10 | 10 | \ No newline at end of file |