2declare(strict_types=1);
8use \ILIAS\UI\Component\Component;
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Interface for mapping data-structures to the Tree.
This describes a Tree Control.
getRecursion()
Get the mapping-class.
withEnvironment($environment)
Configure the Tree with additional information that will be relayed to TreeRecursion.
withHighlightOnNodeClick(bool $highlight)
Should a clicked node be highlighted?
withData($data)
Apply data to the Tree.
getEnvironment()
Get the environment.
getLabel()
Get the (aria-)label.
withIsSubTree(bool $is_sub)
Set this tree to be a part of a tree.
getHighlightOnNodeClick()
Is the tree configured to highlight a clicked node?
isSubTree()
Is this only a part of a tree? Needed if parts are loaded async.