ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MetaData\Vocabularies\Slots\NullHandler Class Reference
+ Inheritance diagram for ILIAS\MetaData\Vocabularies\Slots\NullHandler:
+ Collaboration diagram for ILIAS\MetaData\Vocabularies\Slots\NullHandler:

Public Member Functions

 pathForSlot (Identifier $identifier)
 
 isSlotConditional (Identifier $identifier)
 
 conditionForSlot (Identifier $identifier)
 
 identiferFromPathAndCondition (PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
 
 allSlotsForPath (PathInterface $path_to_element)
 
 doesSlotExist (PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
 
 dataTypeForSlot (Identifier $identifier)
 
 pathForSlot (Identifier $identifier)
 
 isSlotConditional (Identifier $identifier)
 
 conditionForSlot (Identifier $identifier)
 
 identiferFromPathAndCondition (PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
 
 allSlotsForPath (PathInterface $path_to_element)
 
 doesSlotExist (PathInterface $path_to_element, ?PathInterface $path_to_condition, ?string $condition_value)
 
 dataTypeForSlot (Identifier $identifier)
 

Detailed Description

Definition at line 29 of file NullHandler.php.

Member Function Documentation

◆ allSlotsForPath()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::allSlotsForPath ( PathInterface  $path_to_element)
Returns
Identifier[]

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 54 of file NullHandler.php.

54 : \Generator
55 {
56 yield from [];
57 }

References ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from().

+ Here is the call graph for this function:

◆ conditionForSlot()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::conditionForSlot ( Identifier  $identifier)

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 41 of file NullHandler.php.

41 : ?ConditionInterface
42 {
43 return null;
44 }

◆ dataTypeForSlot()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::dataTypeForSlot ( Identifier  $identifier)

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 67 of file NullHandler.php.

67 : DataType
68 {
69 return DataType::NULL;
70 }

References ILIAS\Data\Description\NULL.

◆ doesSlotExist()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::doesSlotExist ( PathInterface  $path_to_element,
?PathInterface  $path_to_condition,
?string  $condition_value 
)

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 59 of file NullHandler.php.

63 : bool {
64 return false;
65 }

◆ identiferFromPathAndCondition()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::identiferFromPathAndCondition ( PathInterface  $path_to_element,
?PathInterface  $path_to_condition,
?string  $condition_value 
)

◆ isSlotConditional()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::isSlotConditional ( Identifier  $identifier)

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 36 of file NullHandler.php.

36 : bool
37 {
38 return false;
39 }

◆ pathForSlot()

ILIAS\MetaData\Vocabularies\Slots\NullHandler::pathForSlot ( Identifier  $identifier)

Implements ILIAS\MetaData\Vocabularies\Slots\HandlerInterface.

Definition at line 31 of file NullHandler.php.

31 : PathInterface
32 {
33 return new NullPath();
34 }

The documentation for this class was generated from the following file: