|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 |
Interface SerializerInterface.
Definition at line 32 of file SerializerInterface.php.
| ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::canHandle | ( | string | $serialized_identification | ) |
| string | $serialized_identification |
Implemented in ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer, and ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer.
| 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\CoreSerializer, and ILIAS\GlobalScreen\Identification\Serializer\PluginSerializer.
| const ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface::MAX_LENGTH = 255 |
Definition at line 34 of file SerializerInterface.php.
Referenced by ILIAS\GlobalScreen\Identification\Serializer\CoreSerializer\serialize(), ILIAS\GlobalScreen\MainMenu\IdentificationTest\testMustNotThrowExceptionSinceSerializedIdentificationIsExactLength(), and ILIAS\GlobalScreen\MainMenu\IdentificationTest\testMustThrowExceptionSinceSerializedIdentificationIsTooLong().