ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ 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
LabelledValue.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Services\DataHelper
;
22
23
use
ILIAS\MetaData\Elements\Data\DataInterface
;
24
25
class
LabelledValue
implements
LabelledValueInterface
26
{
27
protected
string
$value
;
28
protected
string
$label
;
29
30
public
function
__construct
(
31
string
$value,
32
string
$label
33
) {
34
$this->
value
=
$value
;
35
$this->label =
$label
;
36
}
37
38
public
function
value
(): string
39
{
40
return
$this->value
;
41
}
42
43
public
function
presentableLabel
(): string
44
{
45
return
$this->label
;
46
}
47
}
ILIAS\MetaData\Services\DataHelper\LabelledValue\value
value()
The value as it should be written into LOM.
Definition:
LabelledValue.php:38
DataInterface
ILIAS\MetaData\Services\DataHelper\LabelledValue\$value
string $value
Definition:
LabelledValue.php:27
ILIAS\MetaData\Services\DataHelper
Definition:
DataHelper.php:21
ILIAS\MetaData\Services\DataHelper\LabelledValue
Definition:
LabelledValue.php:25
ILIAS\MetaData\Services\DataHelper\LabelledValue\presentableLabel
presentableLabel()
The translated label of the value, that can be presented to the user.
Definition:
LabelledValue.php:43
ILIAS\MetaData\Services\DataHelper\LabelledValueInterface
Definition:
LabelledValueInterface.php:25
ILIAS\MetaData\Services\DataHelper\LabelledValue\$label
string $label
Definition:
LabelledValue.php:28
ILIAS\MetaData\Services\DataHelper\LabelledValue\__construct
__construct(string $value, string $label)
Definition:
LabelledValue.php:30
components
ILIAS
MetaData
classes
Services
DataHelper
LabelledValue.php
Generated on Sat Apr 5 2025 23:03:39 for ILIAS by
1.8.13 (using
Doxyfile
)