ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function base()
8 {
9  //Init Factory and Renderer
10  global $DIC;
11  $f = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13 
14  //Init Component
15  $legacy = $f->legacy("Legacy Content");
16 
17  //Render
18  return $renderer->render($legacy);
19 }
global $DIC
Definition: feed.php:28