ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
bylined.php
Go to the documentation of this file.
1<?php
2function bylined()
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()->bylined('label', 'byline');
11 $node2 = $f->tree()->node()->bylined('label', 'byline', $icon);
12
13 return $renderer->render([$node, $node2]);
14}
bylined()
Definition: bylined.php:2
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46