2declare(strict_types=1);
52 $this->label = $label;
69 $this->subnodes[] = $node;
78 return $this->subnodes;
87 $clone->expanded = $expanded;
96 return $this->expanded;
104 $clone = clone $this;
105 $clone->highlighted = $highlighted;
114 return $this->highlighted;
An exception for terminatinating execution or to throw for unit testing.
The scope of this class is split ilias-conform URI's into components.
withHighlighted(bool $highlighted)
@inhertidoc
appendOnClick(Signal $signal)
@inhertidoc
withExpanded(bool $expanded)
withOnClick(Signal $signal)
@inhertidoc
withAdditionalSubnode(INode $node)
getLink()
Get the URI object that is added as link in the UI.
isHighlighted()
@inhertidoc
__construct(string $label, URI $link=null)
This describes a Tree Node.
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event.
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.