ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
Data.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Elements\Data
;
22
23
class
Data
implements
DataInterface
24
{
25
protected
Type
$type
;
26
protected
string
$value
;
27
28
public
function
__construct
(
Type
$type,
string
$value)
29
{
30
$this->
type
=
$type
;
31
$this->
value
=
$value
;
32
}
33
34
public
function
type
():
Type
35
{
36
return
$this->type
;
37
}
38
39
public
function
value
(): string
40
{
41
return
$this->value
;
42
}
43
}
ILIAS\MetaData\Elements\Data\Data\$value
string $value
Definition:
Data.php:26
ILIAS\MetaData\Elements\Data\Data\value
value()
Value of the data, in a format according to its type.
Definition:
Data.php:39
ILIAS\MetaData\Elements\Data\Data
Definition:
Data.php:23
ILIAS\MetaData\Elements\Data
Definition:
Data.php:21
ILIAS\MetaData\Elements\Data\DataInterface
Definition:
DataInterface.php:23
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:23
ILIAS\MetaData\Elements\Data\Data\type
type()
LOM data type.
Definition:
Data.php:34
ILIAS\MetaData\Elements\Data\Data\$type
Type $type
Definition:
Data.php:25
ILIAS\MetaData\Elements\Data\Data\__construct
__construct(Type $type, string $value)
Definition:
Data.php:28
Services
MetaData
classes
Elements
Data
Data.php
Generated on Wed Sep 10 2025 14:11:40 for ILIAS by
1.8.13 (using
Doxyfile
)