ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function base()
8 {
9  //Init Factory and Renderer
10  global $DIC;
11  $f = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13 
14  $c = $f->chart()->scaleBar(
15  array(
16  "None" => false,
17  "Low" => false,
18  "Medium" => true,
19  "High" => false
20  )
21  );
22 
23  //Render
24  return $renderer->render($c);
25 }
$c
Definition: cli.php:38
global $DIC
Definition: feed.php:28