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='') {
21
21
}
22
22
23
23
public function setLabeled (){
24
- $ this ->addClass ('labeled ' );
24
+ return $ this ->addClass ('labeled ' );
25
25
}
26
26
27
27
public function setTicked (){
28
28
if (!$ this ->propertyContains ('class ' , 'labeled ' )){
29
29
$ this ->addClass ('labeled ' );
30
30
}
31
- $ this ->addClass ('ticked ' );
31
+ return $ this ->addClass ('ticked ' );
32
32
}
33
33
34
34
public function setLabels ($ labels ){
35
35
$ this ->_params ['interpretLabel ' ]=$ labels ;
36
+ return $ this ;
36
37
}
37
38
38
39
/**
@@ -44,6 +45,7 @@ public function asRange($values=NULL){
44
45
if (\is_array ($ values )){
45
46
$ this ->_params =\array_merge ($ this ->_params ,$ values );
46
47
}
48
+ return $ this ;
47
49
}
48
50
49
51
/**
@@ -54,18 +56,21 @@ public function setValues($values=NULL){
54
56
if (\is_array ($ values )){
55
57
$ this ->_params =\array_merge ($ this ->_params ,$ values );
56
58
}
59
+ return $ this ;
57
60
}
58
61
59
62
public function setReversed ($ value =true ){
60
63
if ($ value ){
61
64
$ this ->addClass ('reversed ' );
62
65
}
66
+ return $ this ;
63
67
}
64
68
65
69
public function setVertical ($ value =true ){
66
70
if ($ value ){
67
71
$ this ->addClass ('vertical ' );
68
72
}
73
+ return $ this ;
69
74
}
70
75
71
76
/*
You can’t perform that action at this time.
0 commit comments