$CLIENT_SIDE_STRING_DELIMITER
$CLIENT_SIDE_STRING_DELIMITER :
$inputSanitiser : \DeviceAtlas\Device\InputSanitiser
__construct(\DeviceAtlas\Device\InputSanitiser $inputSanitiser)
ClientSideParser constructor.
\DeviceAtlas\Device\InputSanitiser | $inputSanitiser |
parse( $clientSideString)
Parse the Client-side string into Map where the key is the property name string and the value a Property object.
The clientSide is of the form: bjs.webGl:1|bjs.geoLocation:1|sdeviceAspectRatio:16/10|iusableDisplayHeight:1050 and must be URI encoded, which transforms the string to bjs.webGl%3A1%7Cbjs.geoLocation%3A1%7CsdeviceAspectRatio%3A16%2F10%7CiusableDisplayHeight%3A1050
The first character of the property name is the type of the value. If the type is mot valid then the property/value pair will be ignored.
$clientSideString |
decodeClientSideString( $clientSideString)
$clientSideString |
prepareClientSideString( $clientSideString)
Remove leading and trailing double quotes from the Client-side string if present.
$clientSideString |