ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullElementHelper.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 {
29 return Identifier::NULL;
30 }
31
35 public function slotsForElementWithoutCondition(ElementInterface $element): \Generator
36 {
37 yield from [];
38 }
39
41 ElementInterface $element,
42 ElementInterface $element_in_condition,
43 string $value
44 ): Identifier {
46 }
47
48 public function findElementOfCondition(
49 Identifier $slot,
50 ElementInterface $element,
51 ElementInterface ...$all_elements
53 return null;
54 }
55}
findElementOfCondition(Identifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...