Level51\DropdownsField\DropdownsField_Readonly
Synopsis
class DropdownsField_Readonly
extends DropdownsField
{
- // Inherited members from DropdownsField
- protected $source;
- protected $valueOptions;
- protected boolean $hasEmptyDefault;
- protected string $emptyString;
- // methods
- public void Value()
- // Inherited methods from DropdownsField
- public void __construct()
- public DBHTMLText Field()
- public string getPayload()
- public array|null Value()
- public array getFrontendI18NPayload()
- public $this setSource()
- public $this setValueOptions()
- public $this setHasEmptyDefault()
- public $this setEmptyString()
- public array getSource()
- public array getValueOptions()
Hierarchy
Tasks
Line | Task |
---|---|
112+ | define i18n payload if needed |
Members
protected
- $emptyString
- $hasEmptyDefault
- $source
- $valueOptions
Methods
public
Inherited from Level51\DropdownsField\DropdownsField
public
- Field()
- Value() — Get the field value as array if a value is set.
- getFrontendI18NPayload() — Get a list of all labels used within the frontend.
- getPayload() — Get the payload passed to the vue component.
- getSource()
- getValueOptions()
- setEmptyString()
- setHasEmptyDefault()
- setSource() — Set the field source.
- setValueOptions() — Set the available value options.