ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
with_listings.php
Go to the documentation of this file.
1 <?php
2 
3 function with_listings()
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 }
with_listings()
$DIC
Definition: xapitoken.php:46