ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ 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\Controlled
;
22
23
use
ILIAS\MetaData\Vocabularies\VocabularyInterface
;
24
use
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\LabelledValueInterface
;
25
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as
SlotIdentifier
;
26
27
interface
RepositoryInterface
extends
CreationRepositoryInterface
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
58
public
function
setCustomInputsAllowedForVocabulary
(
59
string
$vocab_id,
60
bool
$custom_inputs
61
): void;
62
63
public
function
deleteVocabulary
(
string
$vocab_id): void;
64
}
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\setActiveForVocabulary
setActiveForVocabulary(string $vocab_id, bool $active)
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\setCustomInputsAllowedForVocabulary
setCustomInputsAllowedForVocabulary(string $vocab_id, bool $custom_inputs)
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface
Definition:
RepositoryInterface.php:27
ILIAS\MetaData\Vocabularies\Controlled
Definition:
CreationRepositoryInterface.php:21
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\getLabelsForValues
getLabelsForValues(SlotIdentifier $slot, bool $only_active, string ... $values)
Values not from (active) controlled vocabularies will not be returned at all.
LabelledValueInterface
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\deleteVocabulary
deleteVocabulary(string $vocab_id)
ILIAS\MetaData\Vocabularies\Controlled\CreationRepositoryInterface
Definition:
CreationRepositoryInterface.php:27
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\getVocabulary
getVocabulary(string $vocab_id)
ILIAS\MetaData\Vocabularies\VocabularyInterface
Definition:
VocabularyInterface.php:25
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\getVocabulariesForSlots
getVocabulariesForSlots(SlotIdentifier ... $slots)
Identifier
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\getActiveVocabulariesForSlots
getActiveVocabulariesForSlots(SlotIdentifier ... $slots)
VocabularyInterface
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\MetaData\Vocabularies\Controlled\RepositoryInterface\countActiveVocabulariesForSlot
countActiveVocabulariesForSlot(SlotIdentifier $slot)
components
ILIAS
MetaData
classes
Vocabularies
Controlled
RepositoryInterface.php
Generated on Tue Sep 2 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)