ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ 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\slotsForElementWithoutCondition
slotsForElementWithoutCondition(ElementInterface $element)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\doesSlotHaveVocabularies
doesSlotHaveVocabularies(SlotIdentifier $slot)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\valuesInVocabulariesForSlot
valuesInVocabulariesForSlot(SlotIdentifier $slot, ?string $add_if_not_included=null)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\findElementOfCondition
findElementOfCondition(SlotIdentifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
ILIAS\MetaData\Editor\Vocabulary
Definition:
Adapter.php:21
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\isValueInVocabulariesForSlot
isValueInVocabulariesForSlot(SlotIdentifier $slot, string $value)
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
Identifier
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface
Definition:
AdapterInterface.php:26
ElementInterface
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\slotForElement
slotForElement(ElementInterface $element)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\potentialSlotForElementByCondition
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
ILIAS\MetaData\Editor\Vocabulary\AdapterInterface\doesSlotAllowCustomInput
doesSlotAllowCustomInput(SlotIdentifier $slot,)
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...
components
ILIAS
MetaData
classes
Editor
Vocabulary
AdapterInterface.php
Generated on Tue Sep 2 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)