ILIAS  release_7 Revision v7.30-3-g800a261c036
no_score_yet.php
Go to the documentation of this file.
1<?php
5function no_score_yet()
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}
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: goto.php:24
no_score_yet()
Example for rendering a mini Progress Meter when no score is given.
Definition: no_score_yet.php:5