ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
headline.php
Go to the documentation of this file.
1 <?php
5 function headline()
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, 75);
14 
15  // render
16  return '<h3>Your Progress: <span style="display: inline-block; height: 19px">' .
17  $renderer->render($progressmeter) .
18  '</span></h3>';
19 }
headline()
Example for rendering a mini Progress Meter as part of a headline.
Definition: headline.php:5
$DIC
Definition: xapitoken.php:46