ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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 Sat Apr 5 2025 23:03:37 for ILIAS by
1.8.13 (using
Doxyfile
)