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
23use ILIAS\MetaData\Presentation\UtilitiesInterface as PresentationUtilities;
27
29{
30 public function deactivateVocabulary(SlotIdentifier $slot): void
31 {
32 }
33
34 public function activateVocabulary(SlotIdentifier $slot): void
35 {
36 }
37
38 public function isVocabularyActive(SlotIdentifier $slot): bool
39 {
40 return false;
41 }
42
43 public function getVocabulary(SlotIdentifier $slot): VocabularyInterface
44 {
45 return new NullVocabulary();
46 }
47
48 public function getVocabularies(SlotIdentifier ...$slots): \Generator
49 {
50 yield from [];
51 }
52
53 public function getActiveVocabularies(SlotIdentifier ...$slots): \Generator
54 {
55 yield from [];
56 }
57
58 public function getLabelsForValues(
59 PresentationUtilities $presentation_utilities,
60 SlotIdentifier $slot,
61 bool $only_active,
62 string ...$values
63 ): \Generator {
64 yield from [];
65 }
66}
getLabelsForValues(PresentationUtilities $presentation_utilities, SlotIdentifier $slot, bool $only_active, string ... $values)
Values not from (active) standard vocabularies will not be returned at all.