ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\GlobalScreen\Identification\NullPluginIdentification Class Reference

Class NullPluginIdentification. More...

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

Public Member Functions

 __construct (private string $plugin_id, private string $identification="", private string $internal_identifier="")
 NullPluginIdentification constructor. More...
 
 serialize ()
 
 unserialize ($serialized)
 
 getClassName ()
 
 getInternalIdentifier ()
 
 getProviderNameForPresentation ()
 
 __serialize ()
 
 __unserialize (array $data)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Identification\NullPluginIdentification::__construct ( private string  $plugin_id,
private string  $identification = "",
private string  $internal_identifier = "" 
)

NullPluginIdentification constructor.

Parameters
string$plugin_id
string$identification
string$internal_identifier

Definition at line 35 of file NullPluginIdentification.php.

36  {
37  }

Member Function Documentation

◆ __serialize()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 79 of file NullPluginIdentification.php.

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

79  : array
80  {
81  return ['data' => $this->serialize()];
82  }
+ Here is the call graph for this function:

◆ __unserialize()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 84 of file NullPluginIdentification.php.

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

84  : void
85  {
86  $this->unserialize($data['data']);
87  }
+ Here is the call graph for this function:

◆ getClassName()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 58 of file NullPluginIdentification.php.

58  : string
59  {
60  return $this->plugin_id;
61  }

◆ getInternalIdentifier()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 66 of file NullPluginIdentification.php.

66  : string
67  {
68  return $this->internal_identifier;
69  }

◆ getProviderNameForPresentation()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 74 of file NullPluginIdentification.php.

74  : string
75  {
76  return $this->plugin_id;
77  }

◆ serialize()

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

Definition at line 42 of file NullPluginIdentification.php.

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

42  : string
43  {
44  return $this->identification;
45  }
+ Here is the caller graph for this function:

◆ unserialize()

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

Definition at line 50 of file NullPluginIdentification.php.

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

50  : void
51  {
52  // nothing to do
53  }
+ Here is the caller graph for this function:

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