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
26
28{
29 public function getVocabulary(string $vocab_id): VocabularyInterface;
30
34 public function getVocabulariesForSlots(SlotIdentifier ...$slots): \Generator;
35
36 public function countActiveVocabulariesForSlot(SlotIdentifier $slot): int;
37
41 public function getActiveVocabulariesForSlots(SlotIdentifier ...$slots): \Generator;
42
47 public function getLabelsForValues(
48 SlotIdentifier $slot,
49 bool $only_active,
50 string ...$values
51 ): \Generator;
52
53 public function setActiveForVocabulary(
54 string $vocab_id,
55 bool $active
56 ): void;
57
59 string $vocab_id,
60 bool $custom_inputs
61 ): void;
62
63 public function deleteVocabulary(string $vocab_id): void;
64}
setActiveForVocabulary(string $vocab_id, bool $active)
getLabelsForValues(SlotIdentifier $slot, bool $only_active, string ... $values)
Values not from (active) controlled vocabularies will not be returned at all.
setCustomInputsAllowedForVocabulary(string $vocab_id, bool $custom_inputs)