ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.

6{
7 //Init Factory and Renderer
8 global $DIC;
9 $f = $DIC->ui()->factory();
10 $renderer = $DIC->ui()->renderer();
11
12 //Init Component
13 $legacy = $f->legacy("Legacy Content");
14 $panel = $f->panel()->standard("Panel Title", $legacy);
15
16 //Render
17 return $renderer->render($panel);
18}
global $DIC
Definition: saml.php:7

References $DIC, and $f.