3 declare(strict_types=1);
    24     $f = $DIC->ui()->factory();
    27     $icon = 
$f->symbol()->icon()->standard(
"crs", 
'Example');
    28     $long_byline = 
'Lorem ipsum dolor sit amet, consetetur sadipscing elitr,    29         sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquy';
    31     $node1 = 
$f->tree()->node()->bylined(
'label', 
'byline');
    32     $node2 = 
$f->tree()->node()->bylined(
'label', $long_byline)
    33                ->withLink(
new \
ILIAS\
Data\
URI(
'https://docu.ilias.de'));
    34     $node3 = 
$f->tree()->node()->bylined(
'label', 
'byline', $icon);
    35     $node4 = 
$f->tree()->node()->bylined(
'label', 
'byline', $icon)
    36                ->withLink(
new \
ILIAS\
Data\
URI(
'https://docu.ilias.de'));
    37     $data = [[
'node' => $node1, 
'children' => [
    39              [
'node' => $node3, 
'children' => [
    45         public function getChildren($record, $environment = null): array
    47             return $record[
'children'] ?? [];
    50         public function build(
    54         ): \ILIAS\UI\Component\Tree\Node\Node {
    55             $node = $record[
'node'];
    56             if (isset($record[
'children'])) {
    57                 $node = $node->withExpanded(
true);
    63     $tree = 
$f->tree()->expandable(
'Label', $recursion)
 
Interface Observer  Contains several chained tasks and infos about them. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This is how the factory for UI elements looks. 
 
bylined()
 description: > Example for rendering a bylined tree node. 
 
The scope of this class is split ilias-conform URI's into components.