ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
RepositoryInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25use ILIAS\MetaData\Presentation\UtilitiesInterface as PresentationUtilities;
27
29{
30 public function deactivateVocabulary(SlotIdentifier $slot): void;
31
32 public function activateVocabulary(SlotIdentifier $slot): void;
33
34 public function isVocabularyActive(SlotIdentifier $slot): bool;
35
36 public function getVocabulary(SlotIdentifier $slot): VocabularyInterface;
37
41 public function getVocabularies(SlotIdentifier ...$slots): \Generator;
42
46 public function getActiveVocabularies(SlotIdentifier ...$slots): \Generator;
47
52 public function getLabelsForValues(
53 PresentationUtilities $presentation_utilities,
54 SlotIdentifier $slot,
55 bool $only_active,
56 string ...$values
57 ): \Generator;
58}
getLabelsForValues(PresentationUtilities $presentation_utilities, SlotIdentifier $slot, bool $only_active, string ... $values)
Values not from (active) standard vocabularies will not be returned at all.