ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\GlobalScreen\Identification\NullIdentification Class Reference

Class NullIdentification. More...

+ Inheritance diagram for ILIAS\GlobalScreen\Identification\NullIdentification:
+ Collaboration diagram for ILIAS\GlobalScreen\Identification\NullIdentification:

Public Member Functions

 __construct (protected ?IdentificationInterface $wrapped_identification=null)
 NullIdentification constructor. More...
 
 serialize ()
 
 unserialize ($serialized)
 
 getClassName ()
 
 getInternalIdentifier ()
 
 getProviderNameForPresentation ()
 
 __serialize ()
 
 __unserialize (array $data)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Identification\NullIdentification::__construct ( protected ?IdentificationInterface  $wrapped_identification = null)

NullIdentification constructor.

Parameters
IdentificationInterface$wrapped_identification

Definition at line 33 of file NullIdentification.php.

34  {
35  }

Member Function Documentation

◆ __serialize()

ILIAS\GlobalScreen\Identification\NullIdentification::__serialize ( )

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 93 of file NullIdentification.php.

References ILIAS\GlobalScreen\Identification\NullIdentification\serialize().

93  : array
94  {
95  return ['data' => $this->serialize()];
96  }
+ Here is the call graph for this function:

◆ __unserialize()

ILIAS\GlobalScreen\Identification\NullIdentification::__unserialize ( array  $data)

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 98 of file NullIdentification.php.

References ILIAS\GlobalScreen\Identification\NullIdentification\unserialize().

98  : void
99  {
100  $this->unserialize($data['data']);
101  }
+ Here is the call graph for this function:

◆ getClassName()

ILIAS\GlobalScreen\Identification\NullIdentification::getClassName ( )

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 60 of file NullIdentification.php.

References null.

60  : string
61  {
62  if ($this->wrapped_identification !== null) {
63  return $this->wrapped_identification->getClassName();
64  }
65 
66  return "Null";
67  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ getInternalIdentifier()

ILIAS\GlobalScreen\Identification\NullIdentification::getInternalIdentifier ( )

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 72 of file NullIdentification.php.

References null.

72  : string
73  {
74  if ($this->wrapped_identification !== null) {
75  return $this->wrapped_identification->getInternalIdentifier();
76  }
77 
78  return "Null";
79  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ getProviderNameForPresentation()

ILIAS\GlobalScreen\Identification\NullIdentification::getProviderNameForPresentation ( )

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 84 of file NullIdentification.php.

References null.

84  : string
85  {
86  if ($this->wrapped_identification !== null) {
87  return $this->wrapped_identification->getProviderNameForPresentation();
88  }
89 
90  return "Null";
91  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ serialize()

ILIAS\GlobalScreen\Identification\NullIdentification::serialize ( )

Definition at line 40 of file NullIdentification.php.

References null.

Referenced by ILIAS\GlobalScreen\Identification\NullIdentification\__serialize().

41  {
42  if ($this->wrapped_identification !== null) {
43  return $this->wrapped_identification->serialize();
44  }
45 
46  return "";
47  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the caller graph for this function:

◆ unserialize()

ILIAS\GlobalScreen\Identification\NullIdentification::unserialize (   $serialized)

Definition at line 52 of file NullIdentification.php.

Referenced by ILIAS\GlobalScreen\Identification\NullIdentification\__unserialize().

52  : void
53  {
54  // noting to do
55  }
+ Here is the caller graph for this function:

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