ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
AdapterInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Editor\Vocabulary
;
22
23
use
ILIAS\MetaData\Vocabularies\Slots\Identifier
as SlotIdentifier;
24
use
ILIAS\MetaData\Elements\ElementInterface
;
25
26
interface
AdapterInterface
27
{
28
public
function
findElementOfCondition
(
29
SlotIdentifier $slot,
30
ElementInterface
$element,
31
ElementInterface
...$all_elements
32
): ?
ElementInterface
;
33
34
public
function
slotForElement
(
ElementInterface
$element): SlotIdentifier;
35
39
public
function
slotsForElementWithoutCondition
(
ElementInterface
$element): \Generator;
40
41
public
function
potentialSlotForElementByCondition
(
42
ElementInterface
$element,
43
ElementInterface
$element_in_condition,
44
string
$value
45
): SlotIdentifier;
46
47
public
function
doesSlotHaveVocabularies
(
48
SlotIdentifier $slot
49
): bool;
50
51
public
function
doesSlotAllowCustomInput
(
52
SlotIdentifier $slot,
53
): bool;
54
55
public
function
isValueInVocabulariesForSlot
(
56
SlotIdentifier $slot,
57
string
$value
58
): bool;
59
63
public
function
valuesInVocabulariesForSlot
(
64
SlotIdentifier $slot,
65
?
string
$add_if_not_included =
null
66
): \Generator;
67
74
public
function
sourceMapForSlot
(SlotIdentifier $slot): \Closure;
75
}
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface
Definition:
AdapterInterface.php:27
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\doesSlotAllowCustomInput
doesSlotAllowCustomInput(SlotIdentifier $slot,)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\doesSlotHaveVocabularies
doesSlotHaveVocabularies(SlotIdentifier $slot)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\isValueInVocabulariesForSlot
isValueInVocabulariesForSlot(SlotIdentifier $slot, string $value)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\potentialSlotForElementByCondition
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\findElementOfCondition
findElementOfCondition(SlotIdentifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\slotsForElementWithoutCondition
slotsForElementWithoutCondition(ElementInterface $element)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\slotForElement
slotForElement(ElementInterface $element)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\valuesInVocabulariesForSlot
valuesInVocabulariesForSlot(SlotIdentifier $slot, ?string $add_if_not_included=null)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\sourceMapForSlot
sourceMapForSlot(SlotIdentifier $slot)
Returned closure takes a string value as argument, and returns the source of the vocabulary it's from...
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:29
ILIAS\MetaData\Editor\Vocabulary
Definition:
Adapter.php:21
ILIAS\MetaData\Vocabularies\Slots\Identifier
Identifier
Definition:
Identifier.php:24
components
ILIAS
MetaData
classes
Editor
Vocabulary
AdapterInterface.php
Generated on Sat Oct 18 2025 23:03:27 for ILIAS by
1.9.4 (using
Doxyfile
)