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