19declare(strict_types=1);
26use ILIAS\UI\Implementation\Component\ComponentHelper;
51 $this->label = $label;
68 $this->subnodes[] = $node;
77 return $this->subnodes;
86 $clone->expanded = $expanded;
95 return $this->expanded;
103 $clone = clone $this;
104 $clone->highlighted = $highlighted;
113 return $this->highlighted;
The scope of this class is split ilias-conform URI's into components.
__construct(string $label, ?URI $link=null)
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
This describes a Tree Node.
link(string $caption, string $href, bool $new_viewport=false)
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.