@@ -15,7 +15,7 @@ class HtmlProgressbar extends HtmlBsDoubleElement {
1515 protected $ striped ="" ;
1616 protected $ active ;
1717 protected $ caption ;
18- protected $ isStacked =false ;
18+ protected $ stacked =false ;
1919 protected $ style ="" ;
2020 protected $ styleLimits =null ;
2121
@@ -76,7 +76,7 @@ public function getValue() {
7676
7777 public function stack (HtmlProgressbar $ progressBar ) {
7878 $ this ->_template ='%content% ' ;
79- $ progressBar ->setIsStacked (true );
79+ $ progressBar ->setStacked (true );
8080 $ progressBar ->showCaption ($ this ->caption =="%value%% " );
8181 $ progressBar ->setStriped ($ this ->striped !=="" || $ progressBar ->isStriped ());
8282 $ progressBar ->setActive ($ this ->active ==="active " || $ progressBar ->isActive ());
@@ -109,12 +109,12 @@ public function setMin($min) {
109109 return $ this ;
110110 }
111111
112- public function getIsStacked () {
113- return $ this ->isStacked ;
112+ public function getStacked () {
113+ return $ this ->stacked ;
114114 }
115115
116- public function setIsStacked ( $ isStacked ) {
117- $ this ->isStacked = $ isStacked ;
116+ public function setStacked ( $ stacked ) {
117+ $ this ->stacked = $ stacked ;
118118 return $ this ;
119119 }
120120
@@ -143,7 +143,7 @@ public function compile(JsUtils $js=NULL, &$view=NULL) {
143143 }
144144 $ this ->style =$ actualStyle ;
145145 $ this ->_template =str_replace ("%caption% " , $ this ->caption , $ this ->_template );
146- if ($ this ->getIsStacked ()===false ) {
146+ if ($ this ->getStacked ()===false ) {
147147 $ this ->wrap ('<div class="progress"> ' , '</div> ' );
148148 }
149149 return parent ::compile ($ js , $ view );
0 commit comments