ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
base.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
32function base()
33{
34 //Init Factory and Renderer
35 global $DIC;
36 $f = $DIC->ui()->factory();
37 $renderer = $DIC->ui()->renderer();
38
39 //Generate List
40 $descriptive = $f->listing()->descriptive(
41 [
42 "Title 1" => "Description 1",
43 "Title 2" => "Description 2",
44 "Title 3" => "Description 3"]
45 );
46
47 //Render
48 return $renderer->render($descriptive);
49}
$renderer
global $DIC
Definition: shib_login.php:26