ILIAS  release_7 Revision v7.30-3-g800a261c036
inside_panel.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 inside_panel()
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 }
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:138
inside_panel()
Definition: inside_panel.php:5
global $DIC
Definition: goto.php:24