ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

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

Referenced by Sanitizer\hexCharReference(), SimpleNodeTest\testRendering(), and SimpleNodeTest\testRenderingWithAsync().

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 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: