ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
user_reached_required.php
Go to the documentation of this file.
1<?php
6{
7 //Loading factories
8 global $DIC;
9 $f = $DIC->ui()->factory();
10 $renderer = $DIC->ui()->renderer();
11
12 //Genarating and rendering the responsive progressmeter
13 $progressmeter = $f->chart()->progressMeter()->fixedSize(100, 80, 75);
14
15 // render
16 return $renderer->render($progressmeter);
17}
user_reached_required()
Example for rendering a fixed size Progress Meter when a specific score was reached.
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46