2declare(strict_types=1);
9use \ILIAS\UI\Component\Component;
10use \ILIAS\UI\Component\Clickable;
An exception for terminatinating execution or to throw for unit testing.
The scope of this class is split ilias-conform URI's into components.
A component is the most general form of an entity in the UI.
This describes a Tree Node.
withLink(URI $link)
Create a new node object with an URI that will be added to the UI.
isExpanded()
Should this Node be expanded on loading?
withExpanded(bool $expanded)
Set $expanded to true to have this node expanded on loading.
getSubnodes()
Get all Nodes under this one.
getLabel()
Get the label of this Node.
isHighlighted()
Should this Node be highlighted on loading?
withAdditionalSubnode(Node $node)
Add a Node under this one.
withHighlighted(bool $expanded)
Set $highlighted to true to have this node highlighted on loading.
getLink()
Get the URI object that is added as link in the UI.