ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
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  //Loading factories
35  global $DIC;
36  $f = $DIC->ui()->factory();
37  $renderer = $DIC->ui()->renderer();
38 
39  //Genarating and rendering the mini progressmeter
40  $progressmeter = $f->chart()->progressMeter()->mini(100, 75);
41 
42  // render
43  return $renderer->render($progressmeter);
44 }
$renderer
base()
description: > Example for rendering a mini Progress Meter with minimum configuration.
Definition: base.php:32
global $DIC
Definition: shib_login.php:22