TreeItem

final readonly class \TYPO3\CMS\Backend\Dto\Tree\TreeItem

Implements
JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$deletable  : bool
$depth  : int
$editable  : bool
$hasChildren  : bool
$icon  : string
$identifier  : string
$labels  : array
$loaded  : bool
$name  : string
$note  : string
$overlayIcon  : string
$parentIdentifier  : string
$prefix  : string
$recordType  : string
$statusInformation  : array
$suffix  : string
$tooltip  : string

Methods

__construct()  : mixed
jsonSerialize()  : array

Properties

$parentIdentifier

public string $parentIdentifier

$statusInformation

public array $statusInformation = []

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<int, StatusInformation> $statusInformation = [] ][, array<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<int, StatusInformation> = []
$labels : array<int, Label> = []
$editable : bool = false
$deletable : bool = false

jsonSerialize()

public jsonSerialize() : array

Return values

array
On this page