TreeItem implements JsonSerializable

Read onlyYes
FinalYes
Internal

Table of Contents

Interfaces

JsonSerializable

Properties

$deletable  : bool
$depth  : int
$editable  : bool
$expanded  : bool
$hasChildren  : bool
$icon  : string
$identifier  : string
$labels  : array<string|int, mixed>
$loaded  : bool
$name  : string
$note  : string
$overlayIcon  : string
$parentIdentifier  : string
$prefix  : string
$recordType  : string
$statusInformation  : array<string|int, mixed>
$suffix  : string
$tooltip  : string

Methods

__construct()  : mixed
jsonSerialize()  : array<string|int, mixed>

Properties

$labels

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

$parentIdentifier

public string $parentIdentifier

$statusInformation

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

Methods

__construct()

public __construct(string $identifier, string $parentIdentifier, string $recordType, string $name, string $prefix, string $suffix, string $tooltip, int $depth, bool $hasChildren, bool $expanded, bool $loaded, string $icon, string $overlayIcon[, string $note = '' ][, array<string|int, StatusInformation$statusInformation = [] ][, array<string|int, Label$labels = [] ][, bool $editable = false ][, bool $deletable = false ]) : mixed
Parameters
$identifier : string
$parentIdentifier : string
$recordType : string
$name : string
$prefix : string
$suffix : string
$tooltip : string
$depth : int
$hasChildren : bool
$expanded : bool
$loaded : bool
$icon : string
$overlayIcon : string
$note : string = ''
$statusInformation : array<string|int, StatusInformation> = []
$labels : array<string|int, Label> = []
$editable : bool = false
$deletable : bool = false

jsonSerialize()

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

        
On this page

Search results