ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullStructureElement.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
29{
30 public function getMDID(): NoID
31 {
32 return NoID::STRUCTURE;
33 }
34
36 {
37 return null;
38 }
39
43 public function getSubElements(): \Generator
44 {
45 yield from [];
46 }
47
48 public function getSubElement(string $name): ?StructureElementInterface
49 {
50 return null;
51 }
52}
getSubElement(string $name)
Return the first sub-element with the given name, if one exists.