ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
ElementHelperInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
27  public function slotForElement(ElementInterface $element): Identifier;
28 
34  public function slotsForElementWithoutCondition(ElementInterface $element): \Generator;
35 
36  public function potentialSlotForElementByCondition(
37  ElementInterface $element,
38  ElementInterface $element_in_condition,
39  string $value
40  ): Identifier;
41 
42  public function findElementOfCondition(
43  Identifier $slot,
44  ElementInterface $element,
45  ElementInterface ...$all_elements
46  ): ?ElementInterface;
47 }
slotsForElementWithoutCondition(ElementInterface $element)
Does not check the condition of the slots, so can return multiple slots per element.
findElementOfCondition(Identifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)