ILIAS  release_7 Revision v7.30-3-g800a261c036
simple.php
Go to the documentation of this file.
1<?php
2function simple()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $icon = $f->symbol()->icon()->standard("crs", 'Example');
9
10 $node = $f->tree()->node()->simple('label');
11 $node2 = $f->tree()->node()->simple('label', $icon);
12
13 return $renderer->render([$node, $node2]);
14}
simple()
Definition: simple.php:5
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: goto.php:24