ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php
Go to the documentation of this file.
1<?php
2
3function base() {
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}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
global $DIC