ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ILIAS\GlobalScreen\Identification\AbstractIdentification Class Reference
+ Inheritance diagram for ILIAS\GlobalScreen\Identification\AbstractIdentification:
+ Collaboration diagram for ILIAS\GlobalScreen\Identification\AbstractIdentification:

Public Member Functions

 __construct (string $internal_identifier, string $classname, SerializerInterface $serializer, string $provider_presentation_name)
 CoreIdentification constructor. More...
 
 serialize ()
 
 unserialize ($serialized)
 
 getClassName ()
 
 getInternalIdentifier ()
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Identification\IdentificationInterface
 getProviderNameForPresentation ()
 

Protected Attributes

 $provider_presentation_name
 
 $serializer
 
 $internal_identifier = ''
 
 $classname = ''
 

Detailed Description

Definition at line 11 of file AbstractIdentification.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Identification\AbstractIdentification::__construct ( string  $internal_identifier,
string  $classname,
SerializerInterface  $serializer,
string  $provider_presentation_name 
)

Member Function Documentation

◆ getClassName()

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

◆ getInternalIdentifier()

◆ serialize()

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

Definition at line 52 of file AbstractIdentification.php.

53  {
54  return $this->serializer->serialize($this);
55  }

◆ unserialize()

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

Definition at line 61 of file AbstractIdentification.php.

62  {
63  throw new \LogicException("Please use the identification factory to unserialize");
64  }

Field Documentation

◆ $classname

ILIAS\GlobalScreen\Identification\AbstractIdentification::$classname = ''
protected

◆ $internal_identifier

ILIAS\GlobalScreen\Identification\AbstractIdentification::$internal_identifier = ''
protected

◆ $provider_presentation_name

ILIAS\GlobalScreen\Identification\AbstractIdentification::$provider_presentation_name
protected

◆ $serializer

ILIAS\GlobalScreen\Identification\AbstractIdentification::$serializer
protected

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