19declare(strict_types=1);
36 $factory =
$DIC->ui()->factory();
39 $icon = $factory->symbol()
41 ->standard(
"crs",
'Example');
43 $node1 = $factory->tree()
48 $uri = new \ILIAS\Data\URI(
'https://ilias.de');
50 $node2 = $factory->tree()
52 ->simple(
'label', $icon, $uri);
54 $data = [[
'node' => $node1], [
'node' => $node2]];
57 public function getChildren($record, $environment =
null): array
62 public function build(
67 return $record[
'node'];
71 $tree = $factory->tree()->expandable(
'Label', $recursion)
Builds a Color from either hex- or rgb values.
This describes a Tree Node.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.