ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
base.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Alex Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4
5function base()
6{
7 //Init Factory and Renderer
8 global $DIC;
9 $f = $DIC->ui()->factory();
10 $renderer = $DIC->ui()->renderer();
11
12 $c = $f->chart()->scaleBar(
13 array(
14 "None" => false,
15 "Low" => false,
16 "Medium" => true,
17 "High" => false
18 )
19 );
20
21 //Render
22 return $renderer->render($c);
23}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: saml.php:7