ILIAS  release_8 Revision v8.24
inside_panel.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7function inside_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}
global $DIC
Definition: feed.php:28
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:198