ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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.

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

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