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 Pseparatedlus Version

Type: function

Class: UserAgent

Platform: 2v

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