ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
reached_100_percent.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, 100);
41 
42  // render
43  return $renderer->render($progressmeter);
44 }
$renderer
reached_100_percent()
description: > Example for rendering a mini Progress Meter when 100% is reached
global $DIC
Definition: shib_login.php:22