ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
base.php
Go to the documentation of this file.
1<?php
2
3function base()
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}
base()
Definition: base.php:4
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46