ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
user_reached_required.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
36 {
37  //Loading factories
38  global $DIC;
39  $f = $DIC->ui()->factory();
40  $renderer = $DIC->ui()->renderer();
41 
42  //Genarating and rendering the responsive progressmeter
43  $progressmeter = $f->chart()->progressMeter()->fixedSize(100, 80, 75);
44 
45  // render
46  return $renderer->render($progressmeter);
47 }
$renderer
user_reached_required()
description: > Example for rendering a fixed size Progress Meter when a specific score was reached ...
global $DIC
Definition: shib_login.php:22