ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
LabelledValue.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\Dispatch\Presentation
;
22
23
class
LabelledValue
implements
LabelledValueInterface
24
{
25
protected
string
$value
;
26
protected
string
$label
;
27
28
public
function
__construct
(
29
string
$value,
30
string
$label =
''
31
) {
32
$this->
value
=
$value
;
33
$this->
label
=
$label
;
34
}
35
36
public
function
value
(): string
37
{
38
return
$this->value
;
39
}
40
41
public
function
label
(): string
42
{
43
return
$this->label
;
44
}
45
}
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue\__construct
__construct(string $value, string $label='')
Definition:
LabelledValue.php:28
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValueInterface
Definition:
LabelledValueInterface.php:23
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue\label
label()
Definition:
LabelledValue.php:41
ILIAS\MetaData\Vocabularies\Dispatch\Presentation
Definition:
LabelledValue.php:21
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue\$value
string $value
Definition:
LabelledValue.php:25
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue
Definition:
LabelledValue.php:23
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue\$label
string $label
Definition:
LabelledValue.php:26
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValue\value
value()
Definition:
LabelledValue.php:36
components
ILIAS
MetaData
classes
Vocabularies
Dispatch
Presentation
LabelledValue.php
Generated on Mon Sep 1 2025 23:03:33 for ILIAS by
1.8.13 (using
Doxyfile
)