ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface Interface Reference

Interface SerializerInterface. More...

+ Inheritance diagram for ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface:
+ Collaboration diagram for ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface:

Public Member Functions

 serialize (IdentificationInterface $identification)
 The string MUST be shorter than 64 characters. More...
 
 unserialize (string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
 
 canHandle (string $serialized_identification)
 

Data Fields

const MAX_LENGTH = 255
 

Detailed Description

Member Function Documentation

◆ canHandle()

ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::canHandle ( string  $serialized_identification)
Parameters
string$serialized_identification
Returns
bool

Implemented in ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer, and ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.

◆ serialize()

ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::serialize ( IdentificationInterface  $identification)

The string MUST be shorter than 64 characters.

Parameters
IdentificationInterface$identification
Returns
string
Exceptions
LogicExceptionwhn longer than 64 characters

Implemented in ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.

◆ unserialize()

ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::unserialize ( string  $serialized_string,
IdentificationMap  $map,
ProviderFactory  $provider_factory 
)
Parameters
string$serialized_string
IdentificationMap$map
ProviderFactory$provider_factory
Returns
IdentificationInterface

Implemented in ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer, and ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.

Field Documentation

◆ MAX_LENGTH


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