BitField extends Select implements InputProviderInterface
Interfaces, Classes and Traits
- InputProviderInterface
Table of Contents
- $attributes : array<string|int, mixed>
- Seed attributes.
- $disabledMask : mixed
- getDisabledMask() : array<string|int, mixed>
- Get disabled mask for bitfield.
- getInputSpecification() : array<string|int, mixed>
- Provide default input rules for this element.
- setDisabledMask() : $this
- Set disabled mask for bitfield.
- setOptions() : mixed
- Set options for an element. Accepted options are: - disabled_mask: a list of disabled mask for element.
Properties
$attributes
Seed attributes.
protected
array<string|int, mixed>
$attributes
= ['type' => 'select', 'multiple' => true]
$disabledMask
protected
mixed
$disabledMask
= []
Methods
getDisabledMask()
Get disabled mask for bitfield.
public
getDisabledMask() : array<string|int, mixed>
Return values
array<string|int, mixed> —getInputSpecification()
Provide default input rules for this element.
public
getInputSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed> —setDisabledMask()
Set disabled mask for bitfield.
public
setDisabledMask(array<string|int, mixed> $mask) : $this
Parameters
- $mask : array<string|int, mixed>
Return values
$this —setOptions()
Set options for an element. Accepted options are: - disabled_mask: a list of disabled mask for element.
public
setOptions(mixed $options) : mixed
Parameters
- $options : mixed