BrowsableTree

interface \TYPO3\CMS\Core\Console\TreeBrowser\BrowsableTree

What the interactive browser shows: a top level of named entries, each holding data that is loaded when the entry is needed. The browser turns objects into arrays and translates label references itself.

Table of Contents

Methods

getEntries()  : array<int, BrowsableEntry>
getTitle()  : string
Heading of the top level, e.g. "Providers" or "Backend routes".
load()  : mixed
The data of one top-level entry, any value. Throws if the entry cannot be shown, the message of the exception is shown to the user.
supportsLabels()  : bool
Whether the data holds label references that "L" can switch to their translation.

Methods

getTitle()

Heading of the top level, e.g. "Providers" or "Backend routes".

public getTitle() : string

Return values

string

load()

The data of one top-level entry, any value. Throws if the entry cannot be shown, the message of the exception is shown to the user.

public load(string $identifier) : mixed

Parameters

$identifier : string

supportsLabels()

Whether the data holds label references that "L" can switch to their translation.

public supportsLabels() : bool

Return values

bool
On this page