ILIAS  release_8 Revision v8.24
base.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
10function base()
11{
12 //Loading factories
13 global $DIC;
14 $f = $DIC->ui()->factory();
15 $renderer = $DIC->ui()->renderer();
16
17 //Genarating and rendering the mini progressmeter
18 $progressmeter = $f->chart()->progressMeter()->mini(100, 75);
19
20 // render
21 return $renderer->render($progressmeter);
22}
global $DIC
Definition: feed.php:28
base()
Example for rendering a mini Progress Meter with minimum configuration.
Definition: base.php:10