SettingDefinition

Read onlyYes
Internal

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
$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 = []

$tags

public array<string|int, mixed> $tags = []

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 = [] ]) : 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> = []

__set_state()

public static __set_state(array<string|int, mixed> $state) : self
Parameters
$state : array<string|int, mixed>
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results