RangeConfig extends Config
Table of Contents
Methods
- __construct() : mixed
- getName() : string
- Name field.
- getType() : string
- Field type.
- setDisabled() : self
- Field is disabled.
- setMax() : self
- Maximum value.
- setMin() : self
- Minimal value.
- setName() : self
- Name field.
- setPlaceholder() : self
- Field placeholder.
- setStep() : self
- Step value.
- toArray() : array<string|int, mixed>
- Config for JS class `BX.Grid.InlineEditor`
Methods
__construct()
public
__construct(string $name[, float|null $min = null ][, float|null $max = null ][, float|null $step = null ]) : mixed
Parameters
- $name : string
- $min : float|null = null
- $max : float|null = null
- $step : float|null = null
getName()
Name field.
public
getName() : string
Return values
stringgetType()
Field type.
public
getType() : string
Return values
stringsetDisabled()
Field is disabled.
public
setDisabled(bool $value) : self
Parameters
- $value : bool
Return values
selfsetMax()
Maximum value.
public
setMax(float $value) : self
Parameters
- $value : float
Return values
selfsetMin()
Minimal value.
public
setMin(float $value) : self
Parameters
- $value : float
Return values
selfsetName()
Name field.
public
setName(string $value) : self
Parameters
- $value : string
Return values
selfsetPlaceholder()
Field placeholder.
public
setPlaceholder(string $value) : self
Parameters
- $value : string
Return values
selfsetStep()
Step value.
public
setStep(float $value) : self
Parameters
- $value : float
Return values
selftoArray()
Config for JS class `BX.Grid.InlineEditor`
public
toArray() : array<string|int, mixed>