19 declare(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(
66 ): \ILIAS\UI\Component\Tree\Node\Node {
67 return $record[
'node'];
71 $tree = $factory->tree()->expandable(
'Label', $recursion)
Interface Observer Contains several chained tasks and infos about them.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
simpleWithLink()
description: > Example for rendering a simple tree node with a link.