ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Chart\ScaleBar
;
22
33
function
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
}
ILIAS\UI\examples\Chart\ScaleBar
Definition:
base.php:21
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Chart\ScaleBar\base
base()
description: > Example of rendering a base scale bar.
Definition:
base.php:33
$c
$c
Definition:
deliver.php:25
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Chart
ScaleBar
base.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)