ILIAS  release_7 Revision v7.30-3-g800a261c036
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 ()
 @inheritDoc More...
 
 unserialize ($serialized)
 @inheritDoc More...
 
 getClassName ()
 @inheritDoc More...
 
 getInternalIdentifier ()
 @inheritDoc More...
 
 __serialize ()
 
 __unserialize (array $data)
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Identification\IdentificationInterface
 getClassName ()
 
 getInternalIdentifier ()
 
 getProviderNameForPresentation ()
 
 __serialize ()
 
 __unserialize (array $data)
 

Protected Attributes

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

Detailed Description

Definition at line 31 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

◆ __serialize()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 114 of file AbstractIdentification.php.

114 : array
115 {
116 return ['data' => $this->serialize()];
117 }

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

+ Here is the call graph for this function:

◆ __unserialize()

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

Implements ILIAS\GlobalScreen\Identification\IdentificationInterface.

Definition at line 119 of file AbstractIdentification.php.

119 : void
120 {
121 $this->unserialize($data['data']);
122 }
$data
Definition: storeScorm.php:23

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

+ Here is the call graph for this function:

◆ getClassName()

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

◆ getInternalIdentifier()

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

◆ serialize()

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

@inheritDoc

Definition at line 68 of file AbstractIdentification.php.

69 {
70 return $this->serializer->serialize($this);
71 }

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

+ Here is the caller graph for this function:

◆ unserialize()

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

@inheritDoc

Definition at line 76 of file AbstractIdentification.php.

77 {
78 throw new LogicException("Please use the identification factory to unserialize");
79 }

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

+ Here is the caller graph for this function:

Field Documentation

◆ $classname

◆ $internal_identifier

◆ $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: