ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
no_score_yet.php File Reference

Go to the source code of this file.

Functions

 no_score_yet ()
 Example for rendering a mini Progress Meter when no score is given. More...
 

Function Documentation

◆ no_score_yet()

no_score_yet ( )

Example for rendering a mini Progress Meter when no score is given.

Definition at line 5 of file no_score_yet.php.

References $DIC, and $f.

6 {
7  //Loading factories
8  global $DIC;
9  $f = $DIC->ui()->factory();
10  $renderer = $DIC->ui()->renderer();
11 
12  //Genarating and rendering the mini progressmeter
13  $progressmeter = $f->chart()->progressMeter()->mini(100, 0);
14 
15  // render
16  return $renderer->render($progressmeter);
17 }
global $DIC
Definition: saml.php:7