ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
Definition:
NullData.php:27
ILIAS\MetaData\Elements\Data\NullData\type
type()
LOM data type.
Definition:
NullData.php:28
ILIAS\MetaData\Elements\Data\NullData\vocabularySlot
vocabularySlot()
Vocabulary slot the data belongs to (important for making vocab values/strings presentable).
Definition:
NullData.php:38
ILIAS\MetaData\Elements\Data\NullData\value
value()
Value of the data, in a format according to its type.
Definition:
NullData.php:33
ILIAS\MetaData\Elements\Data\DataInterface
Definition:
DataInterface.php:26
ILIAS\Data\Description\NULL
@ NULL
Definition:
ValueType.php:30
ILIAS\MetaData\Elements\Data
Definition:
Data.php:21
ILIAS\MetaData\Elements\Data\Type
Type
Definition:
Type.php:24
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
components
ILIAS
MetaData
classes
Elements
Data
NullData.php
Generated on Sun Oct 19 2025 23:03:19 for ILIAS by
1.9.4 (using
Doxyfile
)