ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 3 of file base.php.

References $DIC.

3  {
4  //Init Factory and Renderer
5  global $DIC;
6  $f = $DIC->ui()->factory();
7  $renderer = $DIC->ui()->renderer();
8 
9  //Generate List
10  $descriptive = $f->listing()->descriptive([
11  "Title 1"=>"Description 1",
12  "Title 2"=>"Description 2",
13  "Title 3"=>"Description 3"]
14  );
15 
16  //Render
17  return $renderer->render($descriptive);
18 }
global $DIC