Parse Pseparatedlus Version
Function: parsePlatformPlusVer
Visibility: public static
Parameter: parsePlatformPlusVer($userAgent)
Description:
Operation systems or platforms can be seporated by title according to the user agent string, based on predefined data entered on: platformNames and versions defined on: platformVers.
Parameters:
(required) - string - userAgent - The user agent string.
Return:
array|false - The platform name and it's version found. If not will return false.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
We want to get name of the operation system (if any) and it's version from the user agent string.
How to call (example):
Possible outcome (example):
Output: