ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
maximum_configuration.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Chart\ProgressMeter\Standard
;
6
10
function
maximum_configuration
()
11
{
12
//Loading factories
13
global
$DIC
;
14
$f
= $DIC->ui()->factory();
15
$renderer = $DIC->ui()->renderer();
16
17
//Generating and rendering the standard progressmeter
18
$progressmeter =
$f
->chart()->progressMeter()->standard(100, 75, 80, 50);
19
20
// add score text
21
$progressmeter = $progressmeter->withMainText(
'Your Score'
);
22
23
// add required text
24
$progressmeter = $progressmeter->withRequiredText(
'Required Score'
);
25
26
// render
27
return
$renderer->render($progressmeter);
28
}
ILIAS\UI\examples\Chart\ProgressMeter\Standard
Definition:
base.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Chart\ProgressMeter\Standard\maximum_configuration
maximum_configuration()
Example for rendering a standard Progress Meter with maximum configuration.
Definition:
maximum_configuration.php:10
src
UI
examples
Chart
ProgressMeter
Standard
maximum_configuration.php
Generated on Sun Apr 6 2025 22:03:03 for ILIAS by
1.8.13 (using
Doxyfile
)