ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
maximum_configuration.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
33 {
34  //Loading factories
35  global $DIC;
36  $f = $DIC->ui()->factory();
37  $renderer = $DIC->ui()->renderer();
38 
39  //Generating and rendering the mini progressmeter
40  $progressmeter = $f->chart()->progressMeter()->mini(100, 50, 75);
41 
42  // render
43  return $renderer->render($progressmeter);
44 }
$renderer
global $DIC
Definition: shib_login.php:22
maximum_configuration()
description: > Example for rendering a mini Progress Meter with minimum configuration ...