ILIAS  release_8 Revision v8.24
base.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7function base()
8{
9 global $DIC; /* @var \ILIAS\DI\Container $DIC */
10 $f = $DIC->ui()->factory();
11 $r = $DIC->ui()->renderer();
12
13 $items = [
14 'Any Label for the First Item' => 'Item 1',
15 'Another Label for the Second Item' => 'Item 2',
16 'Third Item Label' => 'Item 3',
17 'Fourth Item Label' => 'Item 4'
18 ];
19
20 $listing = $f->listing()->characteristicValue()->text($items);
21
22 return $r->render($listing);
23}
global $DIC
Definition: feed.php:28