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
29function base()
30{
31 global $DIC;
32 $f = $DIC->ui()->factory();
33 $renderer = $DIC->ui()->renderer();
34
35 $props = $f->listing()->property()
36 ->withProperty('Title', 'Some Title')
37 ->withProperty('number', '7')
38 ->withProperty(
39 'status',
40 $renderer->render(
41 $f->symbol()->icon()->custom('./assets/images/learning_progress/in_progress.svg', 'incomplete'),
42 ) . ' in progress',
43 false
44 );
45
46 $props2 = $props->withItems([
47 ['a', "1"],
48 ['y', "25", false],
49 ['link', $f->link()->standard('Goto ILIAS', 'http://www.ilias.de')]
50 ]);
51
52 return $renderer->render([
53 $props,
54 $f->divider()->horizontal(),
55 $props2
56 ]);
57}
$renderer
global $DIC
Definition: shib_login.php:26