ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AdapterInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 public function findElementOfCondition(
29 SlotIdentifier $slot,
30 ElementInterface $element,
31 ElementInterface ...$all_elements
33
34 public function slotForElement(ElementInterface $element): SlotIdentifier;
35
39 public function slotsForElementWithoutCondition(ElementInterface $element): \Generator;
40
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
56 SlotIdentifier $slot,
57 string $value
58 ): bool;
59
64 SlotIdentifier $slot,
65 ?string $add_if_not_included = null
66 ): \Generator;
67
74 public function sourceMapForSlot(SlotIdentifier $slot): \Closure;
75}
isValueInVocabulariesForSlot(SlotIdentifier $slot, string $value)
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
findElementOfCondition(SlotIdentifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
slotsForElementWithoutCondition(ElementInterface $element)
valuesInVocabulariesForSlot(SlotIdentifier $slot, ?string $add_if_not_included=null)
sourceMapForSlot(SlotIdentifier $slot)
Returned closure takes a string value as argument, and returns the source of the vocabulary it's from...