30 $str =
"{$identification->getPluginId()}{$divider}{$identification->getClassName()}{$divider}{$identification->getInternalIdentifier()}";
45 list($plugin_id, $class_name, $internal_identifier) = explode(self::DIVIDER,
$serialized_string);
53 return $f->identifier($internal_identifier);
60 public function canHandle(
string $serialized_identification) : bool
62 return preg_match(
'/(.*?)\|(.*?)\|(.*)/m', $serialized_identification) > 0;
An exception for terminatinating execution or to throw for unit testing.
Class NullPluginIdentification.
Class PluginIdentificationProvider.
Class PluginIdentification.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactoryInterface $provider_factory)
IdentificationInterface
canHandle(string $serialized_identification)
@inheritDoc
Interface IdentificationInterface.
Interface SerializerInterface.
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
Interface ProviderFactoryInterface.
isInstanceCreationPossible(string $class_name)
getProviderByClassName(string $class_name)
isRegistered(string $class_name)
echo;exit;}function LogoutNotification($SessionID){ global $ilDB;$q="SELECT session_id, data FROM usr_session WHERE expires > (\w+)\|/" $serialized_string