ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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)
 

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.

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

54  : \Generator
55  {
56  yield from [];
57  }
+ 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.

References null.

41  : ?ConditionInterface
42  {
43  return null;
44  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ dataTypeForSlot()

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

◆ 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: