ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
AdapterInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
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 }
slotsForElementWithoutCondition(ElementInterface $element)
valuesInVocabulariesForSlot(SlotIdentifier $slot, ?string $add_if_not_included=null)
findElementOfCondition(SlotIdentifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
isValueInVocabulariesForSlot(SlotIdentifier $slot, string $value)
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
sourceMapForSlot(SlotIdentifier $slot)
Returned closure takes a string value as argument, and returns the source of the vocabulary it&#39;s from...