ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4 
5 function base() {
6  //Init Factory and Renderer
7  global $DIC;
8  $f = $DIC->ui()->factory();
9  $renderer = $DIC->ui()->renderer();
10 
11  //Init Component
12  $legacy = $f->legacy("Legacy Content");
13 
14  //Render
15  return $renderer->render($legacy);
16 }
base()
Definition: base.php:2
global $DIC