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
34function base()
35{
36 global $DIC; /* @var \ILIAS\DI\Container $DIC */
37 $f = $DIC->ui()->factory();
38 $r = $DIC->ui()->renderer();
39
40 $items = [
41 'Any Label for the First Item' => 'Item 1',
42 'Another Label for the Second Item' => 'Item 2',
43 'Third Item Label' => 'Item 3',
44 'Fourth Item Label' => 'Item 4'
45 ];
46
47 $listing = $f->listing()->characteristicValue()->text($items);
48
49 return $r->render($listing);
50}
global $DIC
Definition: shib_login.php:26