ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
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 
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.