TreeItem implements JsonSerializable
Read onlyYes
FinalYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $deletable : bool
- $depth : int
- $editable : 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
$deletable
public
bool
$deletable
= false
$depth
public
int
$depth
$editable
public
bool
$editable
= false
$hasChildren
public
bool
$hasChildren
$icon
public
string
$icon
$identifier
public
string
$identifier
$labels
public
array<string|int, mixed>
$labels
= []
$loaded
public
bool
$loaded
$name
public
string
$name
$note
public
string
$note
= ''
$overlayIcon
public
string
$overlayIcon
$parentIdentifier
public
string
$parentIdentifier
$prefix
public
string
$prefix
$recordType
public
string
$recordType
$statusInformation
public
array<string|int, mixed>
$statusInformation
= []
$suffix
public
string
$suffix
$tooltip
public
string
$tooltip
Methods
__construct()
public
__construct(string $identifier, string $parentIdentifier, string $recordType, string $name, string $prefix, string $suffix, string $tooltip, int $depth, bool $hasChildren, 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
- $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>