ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
32 function 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  $unordered = $f->listing()->unordered(
41  ["Point 1","Point 2","Point 3"]
42  );
43 
44  //Render
45  return $renderer->render($unordered);
46 }
$renderer
global $DIC
Definition: shib_login.php:22
base()
description: > Example for rendering an unordered list.
Definition: base.php:32