ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
inside_panel.php File Reference

Go to the source code of this file.

Functions

 inside_panel ()
 

Function Documentation

◆ inside_panel()

inside_panel ( )

Definition at line 5 of file inside_panel.php.

5 {
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 $panel = $f->panel()->standard("Panel Title",$legacy);
14
15 //Render
16 return $renderer->render($panel);
17}
global $DIC

References $DIC.