ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ElementHelperInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function slotForElement(ElementInterface $element): Identifier;
28
34 public function slotsForElementWithoutCondition(ElementInterface $element): \Generator;
35
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
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)