ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
NullElementHelper.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  {
29  return Identifier::NULL;
30  }
31 
36  {
37  yield from [];
38  }
39 
41  ElementInterface $element,
42  ElementInterface $element_in_condition,
43  string $value
44  ): Identifier {
45  return Identifier::NULL;
46  }
47 
48  public function findElementOfCondition(
49  Identifier $slot,
50  ElementInterface $element,
51  ElementInterface ...$all_elements
52  ): ?ElementInterface {
53  return null;
54  }
55 }
findElementOfCondition(Identifier $slot, ElementInterface $element, ElementInterface ... $all_elements)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
potentialSlotForElementByCondition(ElementInterface $element, ElementInterface $element_in_condition, string $value)