File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Ajax/semantic/html/modules Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,19 @@ public function __construct($identifier, $content='') {
2121 }
2222
2323 public function setLabeled (){
24- $ this ->addClass ('labeled ' );
24+ return $ this ->addClass ('labeled ' );
2525 }
2626
2727 public function setTicked (){
2828 if (!$ this ->propertyContains ('class ' , 'labeled ' )){
2929 $ this ->addClass ('labeled ' );
3030 }
31- $ this ->addClass ('ticked ' );
31+ return $ this ->addClass ('ticked ' );
3232 }
3333
3434 public function setLabels ($ labels ){
3535 $ this ->_params ['interpretLabel ' ]=$ labels ;
36+ return $ this ;
3637 }
3738
3839 /**
@@ -44,6 +45,7 @@ public function asRange($values=NULL){
4445 if (\is_array ($ values )){
4546 $ this ->_params =\array_merge ($ this ->_params ,$ values );
4647 }
48+ return $ this ;
4749 }
4850
4951 /**
@@ -54,18 +56,21 @@ public function setValues($values=NULL){
5456 if (\is_array ($ values )){
5557 $ this ->_params =\array_merge ($ this ->_params ,$ values );
5658 }
59+ return $ this ;
5760 }
5861
5962 public function setReversed ($ value =true ){
6063 if ($ value ){
6164 $ this ->addClass ('reversed ' );
6265 }
66+ return $ this ;
6367 }
6468
6569 public function setVertical ($ value =true ){
6670 if ($ value ){
6771 $ this ->addClass ('vertical ' );
6872 }
73+ return $ this ;
6974 }
7075
7176 /*
You can’t perform that action at this time.
0 commit comments