ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
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
5
function
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
base()
Definition:
base.php:4
php
An exception for terminatinating execution or to throw for unit testing.
$c
$c
Definition:
cli.php:37
$DIC
global $DIC
Definition:
goto.php:24
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
src
UI
examples
Chart
ScaleBar
base.php
Generated on Fri Oct 3 2025 21:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)