TractorCow\SliderField\SliderField
Field for a numeric slider
- Author: Damian Mooyman
Synopsis
class SliderField
extends NumericField
{
- // members
- protected string $orientation = 'horizontal';
- protected $maximum;
- protected $minimum;
- // methods
- public void Type()
- public string getOrientation()
- public SliderField setOrientation()
- public void __construct()
- public integer getMaximum()
- public void setMaximum()
- public integer getMinimum()
- public void setMinimum()
- public void Field()
- public void getAttributes()
Hierarchy
Extends
- SilverStripe\Forms\NumericField
Members
protected
- $maximum
—
integer
Max slider value - $minimum
—
integer
Minimum slider value - $orientation
Methods
public
- __construct() — Create a SliderField object
- Field()
- Type()
- getAttributes()
- getMaximum() — Get the maximum range value
- getMinimum() — Get the minimum range value
- getOrientation() — Gets the orientation of this field
- setMaximum() — Set the maximum range value
- setMinimum() — Set the minimum range value
- setOrientation() — Set the orientation of this field to horizontal or vertical