ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Interface SerializerInterface. More...
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 |
Interface SerializerInterface.
Definition at line 31 of file SerializerInterface.php.
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::canHandle | ( | string | $serialized_identification | ) |
string | $serialized_identification |
Implemented in ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer, and ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::serialize | ( | IdentificationInterface | $identification | ) |
The string MUST be shorter than 64 characters.
IdentificationInterface | $identification |
LogicException | whn longer than 64 characters |
Implemented in ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::unserialize | ( | string | $serialized_string, |
IdentificationMap | $map, | ||
ProviderFactory | $provider_factory | ||
) |
string | $serialized_string | |
IdentificationMap | $map | |
ProviderFactory | $provider_factory |
Implemented in ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer, and ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer.
const ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::MAX_LENGTH = 255 |
Definition at line 33 of file SerializerInterface.php.
Referenced by ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer\serialize(), ILIAS\GlobalScreen\MainMenu\IdentificationTest\testMustNotThrowExceptionSinceSerializedIdentificationIsExactLength(), and ILIAS\GlobalScreen\MainMenu\IdentificationTest\testMustThrowExceptionSinceSerializedIdentificationIsTooLong().