ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ScaleBar.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Chart
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
25
30
class
ScaleBar
implements
C\Chart\ScaleBar
31
{
32
use
ComponentHelper
;
33
34
protected
array
$items
;
35
36
public
function
__construct
($items)
37
{
38
$this->items =
$items
;
39
}
40
44
public
function
withItems
(array $items):
C
\
Chart
\
ScaleBar
45
{
46
$clone = clone $this;
47
$clone->items =
$items
;
48
return
$clone;
49
}
50
54
public
function
getItems
(): array
55
{
56
return
$this->items
;
57
}
58
}
ILIAS\UI\Implementation\Component\Chart\ScaleBar
Definition:
ScaleBar.php:30
ILIAS\UI\Implementation\Component\Chart\ScaleBar\$items
array $items
Definition:
ScaleBar.php:34
ILIAS\UI\Implementation\Component\Chart\ScaleBar\withItems
withItems(array $items)
Definition:
ScaleBar.php:44
ILIAS\UI\Component
ILIAS\Chart
Definition:
Chart.php:23
ILIAS\UI\Implementation\Component\Chart\ScaleBar\__construct
__construct($items)
Definition:
ScaleBar.php:36
ComponentHelper
ILIAS\UI\Implementation\Component\Chart\ScaleBar\getItems
getItems()
Definition:
ScaleBar.php:54
ILIAS\UI\Implementation\Component\Chart
ComponentHelper
components
ILIAS
UI
src
Implementation
Component
Chart
ScaleBar.php
Generated on Mon Apr 7 2025 23:04:45 for ILIAS by
1.8.13 (using
Doxyfile
)