Total Complexity | 2 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class InputSlider extends Component |
||
8 | { |
||
9 | public $id; |
||
10 | public $name; |
||
11 | public $label; |
||
12 | public $topclass; |
||
13 | public $inputclass; |
||
14 | public $value; |
||
15 | public $disabled; |
||
16 | public $required; |
||
17 | public $min; |
||
18 | public $max; |
||
19 | public $step; |
||
20 | public $vertical; |
||
21 | public $tick; |
||
22 | public $ticks; |
||
23 | public $tickLabels; |
||
24 | public $color; |
||
25 | |||
26 | public function __construct( |
||
27 | $id, $name = null, |
||
28 | $label = 'Input Label', |
||
29 | $topclass = null, $inputclass = null, |
||
30 | $value = null, $disabled = false, $required = false, |
||
31 | $min = 0, $max = 100, $step = 1, $vertical = false, |
||
32 | $tick = false, $ticks = null, $tickLabels = null, |
||
33 | $color = 'blue' |
||
34 | ) { |
||
35 | $this->id = $id; |
||
36 | $this->name = $name; |
||
37 | $this->label = $label; |
||
38 | $this->topclass = $topclass; |
||
39 | $this->inputclass = $inputclass; |
||
40 | $this->required = $required; |
||
41 | $this->disabled = $disabled; |
||
42 | $this->value = $value; |
||
43 | $this->min = $min; |
||
44 | $this->max = $max; |
||
45 | $this->step = $step; |
||
46 | $this->vertical = $vertical; |
||
47 | $this->tick = $tick; |
||
48 | $this->ticks = $ticks; |
||
49 | $this->tickLabels = $tickLabels; |
||
50 | $this->color = $color; |
||
51 | } |
||
52 | |||
53 | public function render() |
||
56 | } |
||
57 | } |
||
58 |