ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
RepositoryInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Vocabularies\Standard
;
22
23
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
24
use
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValueInterface
;
25
use
ILIAS\MetaData\Presentation\UtilitiesInterface
as PresentationUtilities;
26
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as SlotIdentifier;
27
28
interface
RepositoryInterface
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
}
ILIAS\MetaData\Presentation\UtilitiesInterface
Definition:
UtilitiesInterface.php:26
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValueInterface
Definition:
LabelledValueInterface.php:24
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface
Definition:
RepositoryInterface.php:29
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\activateVocabulary
activateVocabulary(SlotIdentifier $slot)
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\getVocabulary
getVocabulary(SlotIdentifier $slot)
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\isVocabularyActive
isVocabularyActive(SlotIdentifier $slot)
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\getActiveVocabularies
getActiveVocabularies(SlotIdentifier ... $slots)
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\getLabelsForValues
getLabelsForValues(PresentationUtilities $presentation_utilities, SlotIdentifier $slot, bool $only_active, string ... $values)
Values not from (active) standard vocabularies will not be returned at all.
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\getVocabularies
getVocabularies(SlotIdentifier ... $slots)
ILIAS\MetaData\Vocabularies\Standard\RepositoryInterface\deactivateVocabulary
deactivateVocabulary(SlotIdentifier $slot)
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:26
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
ILIAS\MetaData\Vocabularies\Standard
components
ILIAS
MetaData
classes
Vocabularies
Standard
RepositoryInterface.php
Generated on Sat Oct 18 2025 23:03:26 for ILIAS by
1.9.4 (using
Doxyfile
)