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