ILIAS  release_7 Revision v7.30-3-g800a261c036
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 (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)
 

Protected Attributes

 $wrapped_identification
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ __serialize()

ILIAS\GlobalScreen\Identification\NullIdentification::__serialize ( )
Returns
array{data: string|null}

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 102 of file NullIdentification.php.

102 : array
103 {
104 return ['data' => $this->serialize()];
105 }

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 107 of file NullIdentification.php.

107 : void
108 {
109 $this->unserialize($data['data']);
110 }
$data
Definition: storeScorm.php:23

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 66 of file NullIdentification.php.

66 : string
67 {
68 if ($this->wrapped_identification !== null) {
69 return $this->wrapped_identification->getClassName();
70 }
71
72 return "Null";
73 }

◆ getInternalIdentifier()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 78 of file NullIdentification.php.

78 : string
79 {
80 if ($this->wrapped_identification !== null) {
81 return $this->wrapped_identification->getInternalIdentifier();
82 }
83
84 return "Null";
85 }

◆ getProviderNameForPresentation()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 90 of file NullIdentification.php.

90 : string
91 {
92 if ($this->wrapped_identification !== null) {
93 return $this->wrapped_identification->getProviderNameForPresentation();
94 }
95
96 return "Null";
97 }

◆ serialize()

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

@inheritDoc

Definition at line 46 of file NullIdentification.php.

47 {
48 if ($this->wrapped_identification !== null) {
49 return $this->wrapped_identification->serialize();
50 }
51
52 return "";
53 }

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 58 of file NullIdentification.php.

58 : void
59 {
60 // noting to do
61 }

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

+ Here is the caller graph for this function:

Field Documentation

◆ $wrapped_identification

ILIAS\GlobalScreen\Identification\NullIdentification::$wrapped_identification
protected

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