Parse Browser Plus Version
Function: parseBrowserPlusVer
Visibility: public static
Parameter: parseBrowserPlusVer($userAgent)
Description:
I can count all the names of browser around the world with my fingers, ha! We can distinguish them and classify every browser to it's type according to the user agent string based on predefined data entered on: browserNames.
Parameters:
(required) - string - userAgent - The user agent string.
Return:
array|false - The browser 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 browser (if any) and it's version from the user agent string.
How to call (example):
Possible outcome (example):
Output: