ILIAS  release_7 Revision v7.30-3-g800a261c036
simple.php File Reference

Go to the source code of this file.

Functions

 simple ()
 

Function Documentation

◆ simple()

simple ( )

Definition at line 2 of file simple.php.

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}
global $DIC
Definition: goto.php:24

References $DIC, and Vendor\Package\$f.