ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\Elements\Base\NullBaseElement Class Reference
+ Inheritance diagram for ILIAS\MetaData\Elements\Base\NullBaseElement:
+ Collaboration diagram for ILIAS\MetaData\Elements\Base\NullBaseElement:

Public Member Functions

 getMDID ()
 
 getDefinition ()
 Defining properties of the metadata element. More...
 
 getSubElements ()
 
 getSuperElement ()
 
 isRoot ()
 

Detailed Description

Definition at line 27 of file NullBaseElement.php.

Member Function Documentation

◆ getDefinition()

ILIAS\MetaData\Elements\Base\NullBaseElement::getDefinition ( )

Defining properties of the metadata element.

Implements ILIAS\MetaData\Elements\Base\BaseElementInterface.

Definition at line 34 of file NullBaseElement.php.

34  : DefinitionInterface
35  {
36  return new NullDefinition();
37  }

◆ getMDID()

ILIAS\MetaData\Elements\Base\NullBaseElement::getMDID ( )

Implements ILIAS\MetaData\Elements\Base\BaseElementInterface.

Definition at line 29 of file NullBaseElement.php.

29  : int|NoID
30  {
31  return 0;
32  }

◆ getSubElements()

ILIAS\MetaData\Elements\Base\NullBaseElement::getSubElements ( )
Returns
BaseElementInterface[]

Implements ILIAS\MetaData\Elements\Base\BaseElementInterface.

Definition at line 39 of file NullBaseElement.php.

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

39  : \Generator
40  {
41  yield from [];
42  }
+ Here is the call graph for this function:

◆ getSuperElement()

ILIAS\MetaData\Elements\Base\NullBaseElement::getSuperElement ( )

Implements ILIAS\MetaData\Elements\Base\BaseElementInterface.

Definition at line 44 of file NullBaseElement.php.

References null.

44  : ?BaseElementInterface
45  {
46  return null;
47  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ isRoot()

ILIAS\MetaData\Elements\Base\NullBaseElement::isRoot ( )

Implements ILIAS\MetaData\Elements\Base\BaseElementInterface.

Definition at line 49 of file NullBaseElement.php.

49  : bool
50  {
51  return false;
52  }

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