ILIAS  release_7 Revision v7.30-3-g800a261c036
with_listings.php File Reference

Go to the source code of this file.

Functions

 with_listings ()
 

Function Documentation

◆ with_listings()

with_listings ( )

Definition at line 3 of file with_listings.php.

4{
5 global $DIC;
6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
8
9 $content = array(
10 $f->listing()->ordered(array("item 1","item 2","item 3")),
11 $f->listing()->unordered(array("item 1","item 2","item 3"))
12 );
13
14 $panel = $f->panel()->standard("Panel Title", $content);
15
16 return $renderer->render($panel);
17}
global $DIC
Definition: goto.php:24
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:138

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