SettingDefinition
readonly class \
Internal
Table of Contents
Properties
- $category : string|null
- $default : string|int|float|bool|array|null
- $description : string|null
- $enum : array
- $key : string
- $label : string
- $options : array
- $readonly : bool
- $tags : array
- $type : string
Methods
- __construct() : mixed
- __set_state() : self
- toArray() : array
Properties
$category
public
string|null
$category
= null
$default
public
string|int|float|bool|array|null
$default
$description
public
string|null
$description
= null
$enum
public
array
$enum
= []
$key
public
string
$key
$label
public
string
$label
$options
public
array
$options
= []
$readonly
public
bool
$readonly
= false
$tags
public
array
$tags
= []
$type
public
string
$type
Methods
__construct()
public
__construct(string $key, string $type, string|int|float|bool|array|null $default, string $label[, string|null $description = null ][, bool $readonly = false ][, array $enum = [] ][, string|null $category = null ][, array $tags = [] ][, array $options = [] ]) : mixed
Parameters
- $key : string
- $type : string
- $default : string|int|float|bool|array|null
- $label : string
- $description : string|null = null
- $readonly : bool = false
- $enum : array = []
- $category : string|null = null
- $tags : array = []
- $options : array = []
__set_state()
public
static __set_state(array $state) : self
Parameters
- $state : array
Return values
selftoArray()
public
toArray() : array