ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
NullManipulator.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Manipulator
;
22
23
use
ILIAS\MetaData\Manipulator\Path\PathConditionsCollectionInterface
;
24
use
ILIAS\MetaData\Manipulator\Path\PathUtilitiesFactoryInterface
;
25
use
ILIAS\MetaData\Paths\Filters\FilterType
;
26
use
ILIAS\MetaData\Paths\Steps\StepInterface
;
27
use
ILIAS\MetaData\Paths\Steps\StepToken
;
28
use
ILIAS\MetaData\Repository\RepositoryInterface
;
29
use
ILIAS\MetaData\Elements\Markers\MarkerFactoryInterface
;
30
use
ILIAS\MetaData\Paths\Navigator\NavigatorFactoryInterface
;
31
use
ILIAS\MetaData\Elements\SetInterface
;
32
use
ILIAS\MetaData\Paths\PathInterface
;
33
use
ILIAS\MetaData\Elements\ElementInterface
;
34
use
ILIAS\MetaData\Elements\Markers\MarkableInterface
;
35
use
ILIAS\MetaData\Elements\Markers\Action
;
36
use
ilMDPathException
;
37
use
ILIAS\MetaData\Elements\NullSet
;
38
39
class
NullManipulator
implements
ManipulatorInterface
40
{
41
public
function
prepareDelete
(
42
SetInterface
$set,
43
PathInterface
$path
44
):
SetInterface
{
45
return
new
NullSet
();
46
}
47
48
public
function
prepareCreateOrUpdate
(
49
SetInterface
$set,
50
PathInterface
$path
,
51
string
...$values
52
):
SetInterface
{
53
return
new
NullSet
();
54
}
55
56
public
function
prepareForceCreate
(
57
SetInterface
$set,
58
PathInterface
$path
,
59
string
...$values
60
):
SetInterface
{
61
return
new
NullSet
();
62
}
63
}
MarkableInterface
ILIAS\MetaData\Manipulator\ManipulatorInterface
Definition:
ManipulatorInterface.php:26
ILIAS\MetaData\Paths\Filters\FilterType
FilterType
Values should always be all lowercase.
Definition:
FilterType.php:26
PathUtilitiesFactoryInterface
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Manipulator\NullManipulator
Definition:
NullManipulator.php:39
MarkerFactoryInterface
$path
$path
Definition:
ltiservices.php:29
ILIAS\MetaData\Elements\NullSet
Definition:
NullSet.php:26
SetInterface
ILIAS\MetaData\Manipulator
Definition:
Manipulator.php:21
NavigatorFactoryInterface
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:26
ILIAS\MetaData\Paths\Steps\StepToken
StepToken
The string representation of these tokens must not occur as names of metadata elements.
Definition:
StepToken.php:27
ilMDPathException
ILIAS\MetaData\Manipulator\NullManipulator\prepareCreateOrUpdate
prepareCreateOrUpdate(SetInterface $set, PathInterface $path, string ... $values)
Follows the path, adding scaffolds where necessary to perform the step.
Definition:
NullManipulator.php:48
ElementInterface
ILIAS\MetaData\Elements\Markers\Action
Action
Definition:
Action.php:23
RepositoryInterface
ILIAS\MetaData\Manipulator\NullManipulator\prepareForceCreate
prepareForceCreate(SetInterface $set, PathInterface $path, string ... $values)
Definition:
NullManipulator.php:56
ILIAS\MetaData\Manipulator\NullManipulator\prepareDelete
prepareDelete(SetInterface $set, PathInterface $path)
Definition:
NullManipulator.php:41
PathConditionsCollectionInterface
PathInterface
StepInterface
NullSet
components
ILIAS
MetaData
classes
Manipulator
NullManipulator.php
Generated on Mon Sep 1 2025 23:03:32 for ILIAS by
1.8.13 (using
Doxyfile
)