@@ -9,20 +9,20 @@ discard block |
||
9 | 9 | protected $_states=[]; |
10 | 10 | protected $_baseClass; |
11 | 11 | |
12 | - public function addVariation($variation){ |
|
12 | + public function addVariation($variation) { |
|
13 | 13 | return $this->addToPropertyCtrl("class", $variation, $this->_variations); |
14 | 14 | } |
15 | 15 | |
16 | - public function addState($state){ |
|
16 | + public function addState($state) { |
|
17 | 17 | return $this->addToPropertyCtrl("class", $state, $this->_states); |
18 | 18 | } |
19 | 19 | |
20 | - public function setVariation($variation){ |
|
20 | + public function setVariation($variation) { |
|
21 | 21 | $this->setPropertyCtrl("class", $variation, $this->_variations); |
22 | 22 | return $this->addToProperty("class", $this->_baseClass); |
23 | 23 | } |
24 | 24 | |
25 | - public function setState($state){ |
|
25 | + public function setState($state) { |
|
26 | 26 | $this->setPropertyCtrl("class", $state, $this->_states); |
27 | 27 | return $this->addToProperty("class", $this->_baseClass); |
28 | 28 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * {@inheritDoc} |
32 | 32 | * @see \Ajax\common\html\HtmlSingleElement::setSize() |
33 | 33 | */ |
34 | - public function setSize($size){ |
|
34 | + public function setSize($size) { |
|
35 | 35 | return $this->addToPropertyCtrl("class", $size, Size::getConstants()); |
36 | 36 | } |
37 | 37 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * show it is currently unable to be interacted with |
40 | 40 | * @return \Ajax\semantic\html\elements\HtmlSemDoubleElement |
41 | 41 | */ |
42 | - public function setDisabled(){ |
|
42 | + public function setDisabled() { |
|
43 | 43 | return $this->addToProperty("class", "disabled"); |
44 | 44 | } |
45 | 45 | |
@@ -47,18 +47,18 @@ discard block |
||
47 | 47 | * @param string $color |
48 | 48 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
49 | 49 | */ |
50 | - public function setColor($color){ |
|
51 | - return $this->addToPropertyCtrl("class", $color,Color::getConstants()); |
|
50 | + public function setColor($color) { |
|
51 | + return $this->addToPropertyCtrl("class", $color, Color::getConstants()); |
|
52 | 52 | } |
53 | 53 | |
54 | - public function setFluid(){ |
|
54 | + public function setFluid() { |
|
55 | 55 | $this->addToProperty("class", "fluid"); |
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | 59 | * can be formatted to appear on dark backgrounds |
60 | 60 | */ |
61 | - public function setInverted(){ |
|
61 | + public function setInverted() { |
|
62 | 62 | $this->addToProperty("class", "inverted"); |
63 | 63 | } |
64 | 64 | } |
65 | 65 | \ No newline at end of file |
@@ -10,7 +10,7 @@ |
||
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 | 17 | \ No newline at end of file |
@@ -15,23 +15,23 @@ discard block |
||
15 | 15 | * @author jc |
16 | 16 | * @version 1.001 |
17 | 17 | */ |
18 | -class HtmlGrid extends HtmlSemCollection{ |
|
18 | +class HtmlGrid extends HtmlSemCollection { |
|
19 | 19 | use TextAlignmentTrait; |
20 | 20 | private $_createCols; |
21 | 21 | private $_colSizing=true; |
22 | 22 | private $_implicitRows=false; |
23 | - public function __construct( $identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
|
24 | - parent::__construct( $identifier, "div","ui grid"); |
|
23 | + public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) { |
|
24 | + parent::__construct($identifier, "div", "ui grid"); |
|
25 | 25 | $this->_implicitRows=$implicitRows; |
26 | 26 | $this->_createCols=$createCols; |
27 | - if(isset($numCols)){ |
|
27 | + if (isset($numCols)) { |
|
28 | 28 | //if($this->_createCols){ |
29 | 29 | $this->_colSizing=false; |
30 | 30 | //} |
31 | 31 | $cols=Wide::getConstants()["W".$numCols]; |
32 | - $this->addToProperty("class",$cols." column"); |
|
32 | + $this->addToProperty("class", $cols." column"); |
|
33 | 33 | } |
34 | - $this->setNumRows($numRows,$numCols); |
|
34 | + $this->setNumRows($numRows, $numCols); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -40,9 +40,9 @@ discard block |
||
40 | 40 | * @param int $numCols |
41 | 41 | * @return \Ajax\semantic\html\collections\HtmlGrid |
42 | 42 | */ |
43 | - public function setNumRows($numRows,$numCols=NULL){ |
|
43 | + public function setNumRows($numRows, $numCols=NULL) { |
|
44 | 44 | $count=$this->count(); |
45 | - for($i=$count;$i<$numRows;$i++){ |
|
45 | + for ($i=$count; $i<$numRows; $i++) { |
|
46 | 46 | $this->addItem($numCols); |
47 | 47 | } |
48 | 48 | return $this; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param int $index |
54 | 54 | * @return \Ajax\semantic\html\collections\HtmlGridRow |
55 | 55 | */ |
56 | - public function getRow($index){ |
|
56 | + public function getRow($index) { |
|
57 | 57 | return $this->getItem($index); |
58 | 58 | } |
59 | 59 | |
@@ -62,9 +62,9 @@ discard block |
||
62 | 62 | * @param int $col |
63 | 63 | * @return \Ajax\semantic\html\collections\HtmlGridCol |
64 | 64 | */ |
65 | - public function getCell($row,$col){ |
|
65 | + public function getCell($row, $col) { |
|
66 | 66 | $row=$this->getItem($row); |
67 | - if(isset($row)){ |
|
67 | + if (isset($row)) { |
|
68 | 68 | $col=$row->getItem($col); |
69 | 69 | } |
70 | 70 | return $col; |
@@ -75,8 +75,8 @@ discard block |
||
75 | 75 | * @param boolean $vertically |
76 | 76 | * @return \Ajax\semantic\html\collections\HtmlGrid |
77 | 77 | */ |
78 | - public function setDivided($vertically=false){ |
|
79 | - $value=($vertically===true)?"vertically divided":"divided"; |
|
78 | + public function setDivided($vertically=false) { |
|
79 | + $value=($vertically===true) ? "vertically divided" : "divided"; |
|
80 | 80 | return $this->addToProperty("class", $value); |
81 | 81 | } |
82 | 82 | |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | * @param boolean $internal true for internal cells |
86 | 86 | * @return \Ajax\semantic\html\collections\HtmlGrid |
87 | 87 | */ |
88 | - public function setCelled($internal=false){ |
|
89 | - $value=($internal===true)?"internal celled":"celled"; |
|
88 | + public function setCelled($internal=false) { |
|
89 | + $value=($internal===true) ? "internal celled" : "celled"; |
|
90 | 90 | return $this->addToProperty("class", $value); |
91 | 91 | } |
92 | 92 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * automatically resize all elements to split the available width evenly |
95 | 95 | * @return \Ajax\semantic\html\collections\HtmlGrid |
96 | 96 | */ |
97 | - public function setEqualWidth(){ |
|
97 | + public function setEqualWidth() { |
|
98 | 98 | return $this->addToProperty("class", "equal width"); |
99 | 99 | } |
100 | 100 | |
@@ -103,9 +103,9 @@ discard block |
||
103 | 103 | * @param string $value |
104 | 104 | * @return \Ajax\semantic\html\collections\HtmlGrid |
105 | 105 | */ |
106 | - public function setPadded($value=NULL){ |
|
107 | - if(isset($value)) |
|
108 | - $this->addToPropertyCtrl("class", $value,array("vertically","horizontally")); |
|
106 | + public function setPadded($value=NULL) { |
|
107 | + if (isset($value)) |
|
108 | + $this->addToPropertyCtrl("class", $value, array("vertically", "horizontally")); |
|
109 | 109 | return $this->addToProperty("class", "padded"); |
110 | 110 | } |
111 | 111 | |
@@ -113,37 +113,37 @@ discard block |
||
113 | 113 | * @param boolean $very |
114 | 114 | * @return \Ajax\semantic\html\collections\HtmlGrid |
115 | 115 | */ |
116 | - public function setRelaxed($very=false){ |
|
117 | - $value=($very===true)?"very relaxed":"relaxed"; |
|
116 | + public function setRelaxed($very=false) { |
|
117 | + $value=($very===true) ? "very relaxed" : "relaxed"; |
|
118 | 118 | return $this->addToProperty("class", $value); |
119 | 119 | } |
120 | 120 | |
121 | - public function setVerticalAlignment($value=VerticalAlignment::MIDDLE){ |
|
122 | - return $this->addToPropertyCtrl("class", $value." aligned",VerticalAlignment::getConstantValues("aligned")); |
|
121 | + public function setVerticalAlignment($value=VerticalAlignment::MIDDLE) { |
|
122 | + return $this->addToPropertyCtrl("class", $value." aligned", VerticalAlignment::getConstantValues("aligned")); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
126 | 126 | * {@inheritDoc} |
127 | 127 | * @see \Ajax\common\html\HtmlCollection::createItem() |
128 | 128 | */ |
129 | - protected function createItem($value){ |
|
130 | - if($this->_createCols===false) |
|
129 | + protected function createItem($value) { |
|
130 | + if ($this->_createCols===false) |
|
131 | 131 | $value=null; |
132 | - $item=new HtmlGridRow($this->identifier."-row-".($this->count()+1),$value,$this->_colSizing,$this->_implicitRows); |
|
132 | + $item=new HtmlGridRow($this->identifier."-row-".($this->count()+1), $value, $this->_colSizing, $this->_implicitRows); |
|
133 | 133 | return $item; |
134 | 134 | } |
135 | 135 | |
136 | - public function setValues($values){ |
|
136 | + public function setValues($values) { |
|
137 | 137 | $count=$this->count(); |
138 | - if($this->_createCols===false){ |
|
139 | - for($i=$count;$i<\sizeof($values);$i++){ |
|
138 | + if ($this->_createCols===false) { |
|
139 | + for ($i=$count; $i<\sizeof($values); $i++) { |
|
140 | 140 | $colSize=\sizeof($values[$i]); |
141 | - $this->addItem(new HtmlGridRow($this->identifier."-row-".($this->count()+1),$colSize,$this->_colSizing,$this->_implicitRows)); |
|
141 | + $this->addItem(new HtmlGridRow($this->identifier."-row-".($this->count()+1), $colSize, $this->_colSizing, $this->_implicitRows)); |
|
142 | 142 | } |
143 | 143 | } |
144 | - $count=\min(array($this->count(),\sizeof($values))); |
|
145 | - for($i=0;$i<$count;$i++){ |
|
146 | - $this->content[$i]->setValues($values[$i],$this->_createCols===false); |
|
144 | + $count=\min(array($this->count(), \sizeof($values))); |
|
145 | + for ($i=0; $i<$count; $i++) { |
|
146 | + $this->content[$i]->setValues($values[$i], $this->_createCols===false); |
|
147 | 147 | } |
148 | 148 | } |
149 | 149 |
@@ -11,35 +11,35 @@ discard block |
||
11 | 11 | */ |
12 | 12 | class HtmlButtonGroups extends HtmlSemDoubleElement { |
13 | 13 | |
14 | - public function __construct($identifier, $elements=array(),$asIcons=false) { |
|
15 | - parent::__construct($identifier, "div","ui buttons"); |
|
14 | + public function __construct($identifier, $elements=array(), $asIcons=false) { |
|
15 | + parent::__construct($identifier, "div", "ui buttons"); |
|
16 | 16 | $this->content=array(); |
17 | - if($asIcons===true) |
|
17 | + if ($asIcons===true) |
|
18 | 18 | $this->asIcons(); |
19 | - $this->addElements($elements,$asIcons); |
|
19 | + $this->addElements($elements, $asIcons); |
|
20 | 20 | } |
21 | - public function addElement($element,$asIcon=false){ |
|
21 | + public function addElement($element, $asIcon=false) { |
|
22 | 22 | $elementO=$element; |
23 | - if(\is_string($element)){ |
|
24 | - if($asIcon){ |
|
23 | + if (\is_string($element)) { |
|
24 | + if ($asIcon) { |
|
25 | 25 | $elementO=new HtmlButton("button-".\sizeof($this->content)); |
26 | 26 | $elementO->asIcon($element); |
27 | 27 | }else |
28 | - $elementO=new HtmlButton("button-".\sizeof($this->content),$element); |
|
28 | + $elementO=new HtmlButton("button-".\sizeof($this->content), $element); |
|
29 | 29 | } |
30 | 30 | $this->addContent($elementO); |
31 | 31 | } |
32 | 32 | |
33 | 33 | |
34 | - public function addElements($elements,$asIcons=false) { |
|
35 | - foreach ( $elements as $element ) { |
|
36 | - $this->addElement($element,$asIcons); |
|
34 | + public function addElements($elements, $asIcons=false) { |
|
35 | + foreach ($elements as $element) { |
|
36 | + $this->addElement($element, $asIcons); |
|
37 | 37 | } |
38 | 38 | return $this; |
39 | 39 | } |
40 | 40 | |
41 | - public function insertOr($aferIndex=0,$or="OR"){ |
|
42 | - $orElement=new HtmlSemDoubleElement("or-".$this->identifier,"div","or"); |
|
41 | + public function insertOr($aferIndex=0, $or="OR") { |
|
42 | + $orElement=new HtmlSemDoubleElement("or-".$this->identifier, "div", "or"); |
|
43 | 43 | $orElement->setProperty("data-text", $or); |
44 | 44 | array_splice($this->content, $aferIndex+1, 0, array($orElement)); |
45 | 45 | return $this; |
@@ -52,15 +52,15 @@ discard block |
||
52 | 52 | $this->addElements($array); |
53 | 53 | } |
54 | 54 | |
55 | - public function asIcons(){ |
|
55 | + public function asIcons() { |
|
56 | 56 | return $this->addToProperty("class", "icons"); |
57 | 57 | } |
58 | 58 | |
59 | - public function setVertical(){ |
|
59 | + public function setVertical() { |
|
60 | 60 | return $this->addToProperty("class", "vertical"); |
61 | 61 | } |
62 | 62 | |
63 | - public function setLabeled(){ |
|
63 | + public function setLabeled() { |
|
64 | 64 | return $this->addToProperty("class", "labeled icon"); |
65 | 65 | } |
66 | 66 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * @see \Ajax\bootstrap\html\base\BaseHtml::on() |
89 | 89 | */ |
90 | 90 | public function on($event, $jsCode, $stopPropagation=false, $preventDefault=false) { |
91 | - foreach ( $this->content as $element ) { |
|
91 | + foreach ($this->content as $element) { |
|
92 | 92 | $element->on($event, $jsCode, $stopPropagation, $preventDefault); |
93 | 93 | } |
94 | 94 | return $this; |
@@ -14,13 +14,13 @@ |
||
14 | 14 | $this->setClass($this->_baseClass); |
15 | 15 | } |
16 | 16 | |
17 | - public function setCircular(){ |
|
17 | + public function setCircular() { |
|
18 | 18 | return $this->addToProperty("class", "circular"); |
19 | 19 | } |
20 | 20 | |
21 | - public function asAvatar($caption=NULL){ |
|
22 | - if(isset($caption)) |
|
23 | - $this->wrap("",$caption); |
|
21 | + public function asAvatar($caption=NULL) { |
|
22 | + if (isset($caption)) |
|
23 | + $this->wrap("", $caption); |
|
24 | 24 | return $this->addToProperty("class", "avatar"); |
25 | 25 | } |
26 | 26 | } |
27 | 27 | \ No newline at end of file |
@@ -11,21 +11,21 @@ |
||
11 | 11 | */ |
12 | 12 | class HtmlIconGroups extends HtmlSemDoubleElement { |
13 | 13 | |
14 | - public function __construct($identifier,$size="") { |
|
15 | - parent::__construct($identifier, "i","icons"); |
|
14 | + public function __construct($identifier, $size="") { |
|
15 | + parent::__construct($identifier, "i", "icons"); |
|
16 | 16 | $this->setSize($size); |
17 | 17 | } |
18 | 18 | |
19 | - public function add($icon,$size=""){ |
|
19 | + public function add($icon, $size="") { |
|
20 | 20 | $iconO=$icon; |
21 | - if(\is_string($icon)){ |
|
21 | + if (\is_string($icon)) { |
|
22 | 22 | $iconO=new HtmlIcon("icon-".$this->identifier, $icon); |
23 | 23 | $iconO->setSize($size); |
24 | 24 | } |
25 | 25 | $this->addContent($iconO); |
26 | 26 | } |
27 | 27 | |
28 | - public function getIcon($index){ |
|
28 | + public function getIcon($index) { |
|
29 | 29 | return $this->content[$index]; |
30 | 30 | } |
31 | 31 | } |
32 | 32 | \ No newline at end of file |
@@ -12,17 +12,17 @@ |
||
12 | 12 | class HtmlContainer extends HtmlSemDoubleElement { |
13 | 13 | |
14 | 14 | public function __construct($identifier, $content="") { |
15 | - parent::__construct($identifier, "div","ui container"); |
|
15 | + parent::__construct($identifier, "div", "ui container"); |
|
16 | 16 | $this->content=$content; |
17 | 17 | } |
18 | 18 | |
19 | - public function setAlignement($value="justified"){ |
|
20 | - if($value!=="justified") |
|
19 | + public function setAlignement($value="justified") { |
|
20 | + if ($value!=="justified") |
|
21 | 21 | $value.=" aligned"; |
22 | 22 | return $this->addToProperty("class", $value); |
23 | 23 | } |
24 | 24 | |
25 | - public function setTextContainer(){ |
|
25 | + public function setTextContainer() { |
|
26 | 26 | return $this->addToProperty("class", "text"); |
27 | 27 | } |
28 | 28 | } |
29 | 29 | \ No newline at end of file |
@@ -8,11 +8,11 @@ discard block |
||
8 | 8 | |
9 | 9 | class HtmlHeader extends HtmlSemDoubleElement { |
10 | 10 | protected $image; |
11 | - public function __construct($identifier, $niveau=1,$content=NULL,$type="page") { |
|
12 | - parent::__construct($identifier, "div","ui header"); |
|
11 | + public function __construct($identifier, $niveau=1, $content=NULL, $type="page") { |
|
12 | + parent::__construct($identifier, "div", "ui header"); |
|
13 | 13 | $this->_template="<%tagName% %properties%>%image%%content%</%tagName%>"; |
14 | - if(isset($type)){ |
|
15 | - if($type=="page"){ |
|
14 | + if (isset($type)) { |
|
15 | + if ($type=="page") { |
|
16 | 16 | $this->asPageHeader($niveau); |
17 | 17 | }else |
18 | 18 | $this->asContentHeader($niveau); |
@@ -20,39 +20,39 @@ discard block |
||
20 | 20 | $this->content=$content; |
21 | 21 | } |
22 | 22 | |
23 | - public function asPageHeader($niveau){ |
|
23 | + public function asPageHeader($niveau) { |
|
24 | 24 | $this->tagName="h".$niveau; |
25 | 25 | } |
26 | 26 | |
27 | - public function asContentHeader($niveau){ |
|
27 | + public function asContentHeader($niveau) { |
|
28 | 28 | $this->tagName="div"; |
29 | - if(\is_int($niveau)){ |
|
29 | + if (\is_int($niveau)) { |
|
30 | 30 | $niveau=Size::getConstantValues()[$niveau]; |
31 | 31 | } |
32 | 32 | $this->setSize($niveau); |
33 | 33 | } |
34 | 34 | |
35 | - public function asIcon($icon,$title,$subHeader=NULL){ |
|
35 | + public function asIcon($icon, $title, $subHeader=NULL) { |
|
36 | 36 | $this->addToProperty("class", "icon"); |
37 | 37 | $this->image=new HtmlIcon("icon-".$this->identifier, $icon); |
38 | - return $this->asTitle($title,$subHeader); |
|
38 | + return $this->asTitle($title, $subHeader); |
|
39 | 39 | } |
40 | 40 | |
41 | - public function asImage($src,$title,$subHeader=NULL){ |
|
42 | - $this->image=new HtmlImage("img-".$this->identifier, $src,$title); |
|
43 | - return $this->asTitle($title,$subHeader); |
|
41 | + public function asImage($src, $title, $subHeader=NULL) { |
|
42 | + $this->image=new HtmlImage("img-".$this->identifier, $src, $title); |
|
43 | + return $this->asTitle($title, $subHeader); |
|
44 | 44 | } |
45 | 45 | |
46 | - public function asTitle($title,$subHeader=NULL){ |
|
47 | - if(!\is_object($title)){ |
|
48 | - $this->content=new HtmlDoubleElement("content-".$this->identifier,"div"); |
|
46 | + public function asTitle($title, $subHeader=NULL) { |
|
47 | + if (!\is_object($title)) { |
|
48 | + $this->content=new HtmlDoubleElement("content-".$this->identifier, "div"); |
|
49 | 49 | $this->content->setContent($title); |
50 | - }else{ |
|
50 | + }else { |
|
51 | 51 | $this->content=$title; |
52 | 52 | } |
53 | 53 | $this->content->setClass("content"); |
54 | - if(isset($subHeader)){ |
|
55 | - $sub=new HtmlDoubleElement("subheader-".$this->identifier,"div"); |
|
54 | + if (isset($subHeader)) { |
|
55 | + $sub=new HtmlDoubleElement("subheader-".$this->identifier, "div"); |
|
56 | 56 | $sub->setClass("sub header"); |
57 | 57 | $sub->setContent($subHeader); |
58 | 58 | $this->content->addContent($sub); |
@@ -11,8 +11,8 @@ discard block |
||
11 | 11 | */ |
12 | 12 | class HtmlDivider extends HtmlDoubleElement { |
13 | 13 | |
14 | - public function __construct($identifier, $content="",$tagName="div") { |
|
15 | - parent::__construct($identifier, $tagName,"ui divider"); |
|
14 | + public function __construct($identifier, $content="", $tagName="div") { |
|
15 | + parent::__construct($identifier, $tagName, "ui divider"); |
|
16 | 16 | $this->content=$content; |
17 | 17 | } |
18 | 18 | |
@@ -20,23 +20,23 @@ discard block |
||
20 | 20 | * vertical divider |
21 | 21 | * @return \Ajax\semantic\html\elements\HtmlDivider |
22 | 22 | */ |
23 | - public function setVertical(){ |
|
24 | - return $this->addToPropertyUnique("class", "vertical", array("vertical","horizontal")); |
|
23 | + public function setVertical() { |
|
24 | + return $this->addToPropertyUnique("class", "vertical", array("vertical", "horizontal")); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
28 | 28 | * horizontal divider |
29 | 29 | * @return \Ajax\semantic\html\elements\HtmlDivider |
30 | 30 | */ |
31 | - public function setHorizontal(){ |
|
32 | - return $this->addToPropertyUnique("class", "horizontal", array("vertical","horizontal")); |
|
31 | + public function setHorizontal() { |
|
32 | + return $this->addToPropertyUnique("class", "horizontal", array("vertical", "horizontal")); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | 36 | * hide the divider |
37 | 37 | * @return \Ajax\semantic\html\elements\HtmlDivider |
38 | 38 | */ |
39 | - public function setHidden(){ |
|
39 | + public function setHidden() { |
|
40 | 40 | return $this->addToProperty("class", "hidden"); |
41 | 41 | } |
42 | 42 | |
@@ -44,14 +44,14 @@ discard block |
||
44 | 44 | * fitted, without any space above or below it |
45 | 45 | * @return \Ajax\semantic\html\elements\HtmlDivider |
46 | 46 | */ |
47 | - public function setFitted(){ |
|
47 | + public function setFitted() { |
|
48 | 48 | return $this->addToProperty("class", "fitted"); |
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @return \Ajax\semantic\html\elements\HtmlDivider |
53 | 53 | */ |
54 | - public function asHeader(){ |
|
54 | + public function asHeader() { |
|
55 | 55 | return $this->addToProperty("class", "header"); |
56 | 56 | } |
57 | 57 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * inverts the divider colors |
60 | 60 | * @return \Ajax\semantic\html\elements\HtmlDivider |
61 | 61 | */ |
62 | - public function setInverted(){ |
|
62 | + public function setInverted() { |
|
63 | 63 | return $this->addToProperty("class", "inverted"); |
64 | 64 | } |
65 | 65 | } |
66 | 66 | \ No newline at end of file |