ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.

References $DIC, and array.

3  {
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 }
Create styles array
The data for the language used.
global $DIC