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 ()
 
 unserialize ($serialized)
 
 getClassName ()
 
 getInternalIdentifier ()
 
 __serialize ()
 
 __unserialize (array $data)
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Identification\IdentificationInterface
 getProviderNameForPresentation ()
 

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.

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

114  : array
115  {
116  return ['data' => $this->serialize()];
117  }
+ 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.

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

119  : void
120  {
121  $this->unserialize($data['data']);
122  }
$data
Definition: storeScorm.php:23
+ 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 ( )

Definition at line 68 of file AbstractIdentification.php.

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

69  {
70  return $this->serializer->serialize($this);
71  }
+ Here is the caller graph for this function:

◆ unserialize()

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

Definition at line 76 of file AbstractIdentification.php.

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

77  {
78  throw new LogicException("Please use the identification factory to unserialize");
79  }
+ Here is the caller graph for this function:

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: