ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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}
An exception for terminatinating execution or to throw for unit testing.
simple()
Definition: simple.php:2
$DIC
Definition: xapitoken.php:46