ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
ten_items.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
ten_items
()
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
"0"
=>
false
,
15
"1"
=>
false
,
16
"2"
=>
false
,
17
"3"
=>
false
,
18
"4"
=>
false
,
19
"5"
=>
false
,
20
"6"
=>
true
,
21
"7"
=>
false
,
22
"8"
=>
false
,
23
"9"
=>
false
24
)
25
);
26
27
//Render
28
return
$renderer->render(
$c
);
29
}
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
ten_items
ten_items()
Definition:
ten_items.php:5
src
UI
examples
Chart
ScaleBar
ten_items.php
Generated on Fri Oct 3 2025 21:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)