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
24{
25 public function isHarvestingBlocked(int $obj_id): bool
26 {
27 return false;
28 }
29
30 public function setHarvestingBlocked(int $obj_id, bool $blocked): void
31 {
32 }
33
34 public function isAlreadyHarvested(int $obj_id): bool
35 {
36 return false;
37 }
38
42 public function getAllHarvestedObjIDs(): \Generator
43 {
44 yield from [];
45 }
46
47 public function getHarvestRefID(int $obj_id): int
48 {
49 return 0;
50 }
51
52 public function setHarvestRefID(int $obj_id, int $harvested_ref_id): void
53 {
54 }
55
56 public function deleteHarvestRefID(int $obj_id): void
57 {
58 }
59
63 public function filterOutBlockedObjects(int ...$obj_ids): \Generator
64 {
65 yield from [];
66 }
67
68 public function deleteStatus(int $obj_id): void
69 {
70 }
71}
setHarvestRefID(int $obj_id, int $harvested_ref_id)