| Total Complexity | 2 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| 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 | 1 | 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 | 1 | $this->id = $id; |
|
| 36 | 1 | $this->name = $name; |
|
| 37 | 1 | $this->label = $label; |
|
| 38 | 1 | $this->topclass = $topclass; |
|
| 39 | 1 | $this->inputclass = $inputclass; |
|
| 40 | 1 | $this->required = $required; |
|
| 41 | 1 | $this->disabled = $disabled; |
|
| 42 | 1 | $this->value = $value; |
|
| 43 | 1 | $this->min = $min; |
|
| 44 | 1 | $this->max = $max; |
|
| 45 | 1 | $this->step = $step; |
|
| 46 | 1 | $this->vertical = $vertical; |
|
| 47 | 1 | $this->tick = $tick; |
|
| 48 | 1 | $this->ticks = $ticks; |
|
| 49 | 1 | $this->tickLabels = $tickLabels; |
|
| 50 | 1 | $this->color = $color; |
|
| 51 | 1 | } |
|
| 52 | |||
| 53 | 1 | public function render() |
|
| 56 | } |
||
| 57 | } |
||
| 58 |