ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
NullFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\Factory
;
22
23
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as SlotIdentifier;
24
use
ILIAS\MetaData\Vocabularies\Factory\NullBuilder
;
25
use
ILIAS\MetaData\Vocabularies\NullVocabulary
;
26
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
27
28
class
NullFactory
implements
FactoryInterface
29
{
30
public
function
standard
(SlotIdentifier $slot,
string
...$values):
BuilderInterface
31
{
32
return
new
NullBuilder
();
33
}
34
35
public
function
controlledString
(
36
SlotIdentifier $slot,
37
string
$id
,
38
string
$source,
39
string
...$values
40
):
BuilderInterface
{
41
return
new
NullBuilder
();
42
}
43
44
public
function
controlledVocabValue
(
45
SlotIdentifier $slot,
46
string
$id
,
47
string
$source,
48
string
...$values
49
):
BuilderInterface
{
50
return
new
NullBuilder
();
51
}
52
53
public
function
copyright
(
string
...$values):
BuilderInterface
54
{
55
return
new
NullBuilder
();
56
}
57
58
public
function
null
():
VocabularyInterface
59
{
60
return
new
NullVocabulary
();
61
}
62
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\MetaData\Vocabularies\Factory\NullBuilder
Definition:
NullBuilder.php:28
ILIAS\MetaData\Vocabularies\Factory\NullFactory
Definition:
NullFactory.php:29
ILIAS\MetaData\Vocabularies\Factory\NullFactory\controlledString
controlledString(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition:
NullFactory.php:35
ILIAS\MetaData\Vocabularies\Factory\NullFactory\standard
standard(SlotIdentifier $slot, string ... $values)
Definition:
NullFactory.php:30
ILIAS\MetaData\Vocabularies\Factory\NullFactory\copyright
copyright(string ... $values)
Definition:
NullFactory.php:53
ILIAS\MetaData\Vocabularies\Factory\NullFactory\controlledVocabValue
controlledVocabValue(SlotIdentifier $slot, string $id, string $source, string ... $values)
Definition:
NullFactory.php:44
ILIAS\MetaData\Vocabularies\NullVocabulary
Definition:
NullVocabulary.php:27
return
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
delivery_method.php:21
ILIAS\MetaData\Vocabularies\Factory\BuilderInterface
Definition:
BuilderInterface.php:27
ILIAS\MetaData\Vocabularies\Factory\FactoryInterface
Definition:
FactoryInterface.php:27
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:26
ILIAS\MetaData\Vocabularies\Factory
Definition:
Builder.php:21
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
components
ILIAS
MetaData
classes
Vocabularies
Factory
NullFactory.php
Generated on Sat Oct 18 2025 23:03:26 for ILIAS by
1.9.4 (using
Doxyfile
)