Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Parse Browser Plus Version

Type: function

Class: UserAgent

Platform: 2v

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):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔