ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 @inheritDoc More...
 
 unserialize ($serialized)
 @inheritDoc More...
 
 getClassName ()
 @inheritDoc More...
 
 getInternalIdentifier ()
 @inheritDoc More...
 
 getProviderNameForPresentation ()
 @inheritDoc More...
 
 __serialize ()
 
 __unserialize (array $data)
 
 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.

93 : array
94 {
95 return ['data' => $this->serialize()];
96 }

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

+ 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.

98 : void
99 {
100 $this->unserialize($data['data']);
101 }

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

+ Here is the call graph for this function:

◆ getClassName()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 60 of file NullIdentification.php.

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

◆ getInternalIdentifier()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 72 of file NullIdentification.php.

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

◆ getProviderNameForPresentation()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 84 of file NullIdentification.php.

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

◆ serialize()

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

@inheritDoc

Definition at line 40 of file NullIdentification.php.

41 {
42 if ($this->wrapped_identification !== null) {
43 return $this->wrapped_identification->serialize();
44 }
45
46 return "";
47 }

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

+ Here is the caller graph for this function:

◆ unserialize()

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

@inheritDoc

Definition at line 52 of file NullIdentification.php.

52 : void
53 {
54 // noting to do
55 }

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

+ Here is the caller graph for this function:

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