ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullHandler.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28
30{
31 public function pathForSlot(Identifier $identifier): PathInterface
32 {
33 return new NullPath();
34 }
35
36 public function isSlotConditional(Identifier $identifier): bool
37 {
38 return false;
39 }
40
41 public function conditionForSlot(Identifier $identifier): ?ConditionInterface
42 {
43 return null;
44 }
45
47 PathInterface $path_to_element,
48 ?PathInterface $path_to_condition,
49 ?string $condition_value
50 ): Identifier {
52 }
53
54 public function allSlotsForPath(PathInterface $path_to_element): \Generator
55 {
56 yield from [];
57 }
58
59 public function doesSlotExist(
60 PathInterface $path_to_element,
61 ?PathInterface $path_to_condition,
62 ?string $condition_value
63 ): bool {
64 return false;
65 }
66
67 public function dataTypeForSlot(Identifier $identifier): DataType
68 {
69 return DataType::NULL;
70 }
71}
doesSlotExist(PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
Definition: NullHandler.php:59
allSlotsForPath(PathInterface $path_to_element)
Definition: NullHandler.php:54
identiferFromPathAndCondition(PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
Definition: NullHandler.php:46
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...