ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
NullData.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
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as
SlotIdentifier
;
24
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
;
25
26
class
NullData
implements
DataInterface
27
{
28
public
function
type
():
Type
29
{
30
return
Type::NULL
;
31
}
32
33
public
function
value
(): string
34
{
35
return
''
;
36
}
37
38
public
function
vocabularySlot
():
SlotIdentifier
39
{
40
return
SlotIdentifier::NULL
;
41
}
42
}
ILIAS\MetaData\Elements\Data\NullData\type
type()
LOM data type.
Definition:
NullData.php:28
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:23
ILIAS\MetaData\Elements\Data\NullData\value
value()
Value of the data, in a format according to its type.
Definition:
NullData.php:33
ILIAS\Data\Description\NULL
Definition:
ValueType.php:30
ILIAS\MetaData\Elements\Data
Definition:
Data.php:21
ILIAS\MetaData\Elements\Data\NullData
Definition:
NullData.php:26
ILIAS\MetaData\Elements\Data\DataInterface
Definition:
DataInterface.php:25
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:23
Identifier
ILIAS\MetaData\Elements\Data\NullData\vocabularySlot
vocabularySlot()
Vocabulary slot the data belongs to (important for making vocab values/strings presentable).
Definition:
NullData.php:38
components
ILIAS
MetaData
classes
Elements
Data
NullData.php
Generated on Sun Aug 31 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)