ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
base.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
33function base()
34{
35 //Init Factory and Renderer
36 global $DIC;
37 $f = $DIC->ui()->factory();
38 $renderer = $DIC->ui()->renderer();
39
40 $c = $f->chart()->scaleBar(
41 array(
42 "None" => false,
43 "Low" => false,
44 "Medium" => true,
45 "High" => false
46 )
47 );
48
49 //Render
50 return $renderer->render($c);
51}
$renderer
$c
Definition: deliver.php:25
global $DIC
Definition: shib_login.php:26