ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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...
 
 getClassName ()
 
 getInternalIdentifier ()
 
 getProviderNameForPresentation ()
 

Protected Attributes

 $wrapped_identification = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getClassName()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 53 of file NullIdentification.php.

53 : string
54 {
55 if ($this->wrapped_identification !== null) {
56 return $this->wrapped_identification->getClassName();
57 }
58
59 return "Null";
60 }

◆ getInternalIdentifier()

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

@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->getInternalIdentifier();
70 }
71
72 return "Null";
73 }

◆ getProviderNameForPresentation()

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

@inheritDoc

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 79 of file NullIdentification.php.

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

◆ serialize()

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

@inheritDoc

Definition at line 31 of file NullIdentification.php.

32 {
33 if ($this->wrapped_identification !== null) {
34 return $this->wrapped_identification->serialize();
35 }
36
37 return "";
38 }

◆ unserialize()

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

@inheritDoc

Definition at line 44 of file NullIdentification.php.

45 {
46 return;
47 }

Field Documentation

◆ $wrapped_identification

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

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