ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
NullRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Repository
;
22
23
use
ILIAS\MetaData\Elements\NullSet
;
24
use
ILIAS\MetaData\Elements\SetInterface
;
25
use
ILIAS\MetaData\Paths\PathInterface
;
26
use
ILIAS\MetaData\Repository\Utilities\NullScaffoldProvider
;
27
use
ILIAS\MetaData\Repository\Utilities\ScaffoldProviderInterface
;
28
29
class
NullRepository
implements
RepositoryInterface
30
{
31
public
function
getMD
(
int
$obj_id,
int
$sub_id,
string
$type):
SetInterface
32
{
33
return
new
NullSet
();
34
}
35
36
public
function
getMDOnPath
(
PathInterface
$path
,
int
$obj_id,
int
$sub_id,
string
$type):
SetInterface
37
{
38
return
new
NullSet
();
39
}
40
41
public
function
scaffolds
():
ScaffoldProviderInterface
42
{
43
return
new
NullScaffoldProvider
();
44
}
45
46
public
function
manipulateMD
(
SetInterface
$set): void
47
{
48
}
49
50
public
function
deleteAllMD
(
int
$obj_id,
int
$sub_id,
string
$type): void
51
{
52
}
53
}
ILIAS\MetaData\Repository
ScaffoldProviderInterface
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
ILIAS\MetaData\Repository\NullRepository\scaffolds
scaffolds()
Definition:
NullRepository.php:41
ILIAS\MetaData\Repository\NullRepository\getMDOnPath
getMDOnPath(PathInterface $path, int $obj_id, int $sub_id, string $type)
Returns an MD set with only the elements specified on a path, and all nested subelements of the last ...
Definition:
NullRepository.php:36
$path
$path
Definition:
ltiservices.php:32
ILIAS\MetaData\Elements\NullSet
Definition:
NullSet.php:26
ILIAS\MetaData\Repository\NullRepository\deleteAllMD
deleteAllMD(int $obj_id, int $sub_id, string $type)
Definition:
NullRepository.php:50
SetInterface
ILIAS\MetaData\Repository\NullRepository\getMD
getMD(int $obj_id, int $sub_id, string $type)
Definition:
NullRepository.php:31
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:26
ILIAS\MetaData\Repository\Utilities\ScaffoldProviderInterface
Definition:
ScaffoldProviderInterface.php:25
NullScaffoldProvider
ILIAS\MetaData\Repository\Utilities\NullScaffoldProvider
Definition:
NullScaffoldProvider.php:25
ILIAS\MetaData\Repository\NullRepository
Definition:
NullRepository.php:29
ILIAS\MetaData\Repository\NullRepository\manipulateMD
manipulateMD(SetInterface $set)
Follows a trail of markers from the root element, and creates, updates or deletes marked MD elements ...
Definition:
NullRepository.php:46
PathInterface
NullSet
ILIAS\MetaData\Repository\RepositoryInterface
Definition:
RepositoryInterface.php:28
Services
MetaData
classes
Repository
NullRepository.php
Generated on Wed Sep 10 2025 14:11:45 for ILIAS by
1.8.13 (using
Doxyfile
)