ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
user_reached_required.php
Go to the documentation of this file.
1
<?
php
5
function
user_reached_required
()
6
{
7
//Loading factories
8
global
$DIC
;
9
$f
= $DIC->ui()->factory();
10
$renderer = $DIC->ui()->renderer();
11
12
//Genarating and rendering the standard progressmeter
13
$progressmeter =
$f
->chart()->progressMeter()->standard(100, 80, 75);
14
15
// render
16
return
$renderer->render($progressmeter);
17
}
$DIC
global $DIC
Definition:
saml.php:7
$f
$f
Definition:
fetch_windows_zones.php:31
user_reached_required
user_reached_required()
Example for rendering a fixed size Progress Meter when a specific score was reached.
Definition:
user_reached_required.php:5
php
src
UI
examples
Chart
ProgressMeter
Standard
user_reached_required.php
Generated on Thu Jan 30 2025 19:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)