ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\UI\examples\Legacy Namespace Reference

Functions

 base ()
 
 inside_panel ()
 

Function Documentation

◆ base()

ILIAS\UI\examples\Legacy\base ( )

Definition at line 7 of file base.php.

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

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

◆ inside_panel()

ILIAS\UI\examples\Legacy\inside_panel ( )

Definition at line 7 of file inside_panel.php.

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

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  $panel = $f->panel()->standard("Panel Title", $legacy);
17 
18  //Render
19  return $renderer->render($panel);
20 }
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:198
global $DIC
Definition: feed.php:28