ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
NullRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 
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 
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 }
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 ...
$path
Definition: ltiservices.php:32
deleteAllMD(int $obj_id, int $sub_id, string $type)
getMD(int $obj_id, int $sub_id, string $type)
manipulateMD(SetInterface $set)
Follows a trail of markers from the root element, and creates, updates or deletes marked MD elements ...