ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
with_listings.php
Go to the documentation of this file.
1 <?php
2 
3 function with_listings() {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7 
8  $content = array(
9  $f->listing()->ordered(array("item 1","item 2","item 3")),
10  $f->listing()->unordered(array("item 1","item 2","item 3"))
11  );
12 
13  $panel = $f->panel()->standard("Panel Title",$content);
14 
15  return $renderer->render($panel);
16 }
with_listings()
Create styles array
The data for the language used.
global $DIC