ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29
31{
32 public function getMD(int $obj_id, int $sub_id, string $type): SetInterface
33 {
34 return new NullSet();
35 }
36
37 public function getMDOnPath(PathInterface $path, int $obj_id, int $sub_id, string $type): SetInterface
38 {
39 return new NullSet();
40 }
41
45 public function searchMD(
46 ClauseInterface $clause,
47 ?int $limit,
48 ?int $offset,
49 FilterInterface ...$filters
50 ): \Generator {
51 yield from [];
52 }
53
54 public function manipulateMD(SetInterface $set): void
55 {
56 }
57
58 public function transferMD(
59 SetInterface $from_set,
60 int $to_obj_id,
61 int $to_sub_id,
62 string $to_type,
63 bool $throw_error_if_invalid
64 ): void {
65 }
66
67 public function deleteAllMD(int $obj_id, int $sub_id, string $type): void
68 {
69 }
70}
transferMD(SetInterface $from_set, int $to_obj_id, int $to_sub_id, string $to_type, bool $throw_error_if_invalid)
Transfers a metadata set to an object, regardless of its source.
manipulateMD(SetInterface $set)
Follows a trail of markers from the root element, and creates, updates or deletes marked MD elements ...
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 ...
searchMD(ClauseInterface $clause, ?int $limit, ?int $offset, FilterInterface ... $filters)
getMD(int $obj_id, int $sub_id, string $type)
$path
Definition: ltiservices.php:30