CategoryDefinition

Read onlyYes
Internal

Table of Contents

Properties

$description  : string|null
$icon  : string|null
$key  : string
$label  : string
$parent  : string|null

Methods

__construct()  : mixed
__set_state()  : self
toArray()  : array<string|int, mixed>

Properties

$description

public string|null $description = null

Methods

__construct()

public __construct(string $key, string $label[, string|null $description = null ][, string|null $icon = null ][, string|null $parent = null ]) : mixed
Parameters
$key : string
$label : string
$description : string|null = null
$icon : string|null = null
$parent : string|null = null

__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