UserAgentParser
in package
3rd Party Lib parseUserAgentString.php Class (With Bots) Version 1.38 Written by Thomas Parkison.
thomas.parkison@gmail.com Github: https://github.com/trparky/User-Agent-Parser/
Table of Contents
Properties
- $activex : mixed
- $android : mixed
- $androidVersion : mixed
- $backgroundsounds : mixed
- $browsername : mixed
- $browserversion : mixed
- $bsd : mixed
- $chrome : mixed
- $chromeClone : mixed
- $chromeEdge : mixed
- $chromeos : mixed
- $classVersion : mixed
- $cookies : mixed
- $css : mixed
- $css1 : mixed
- $css2 : mixed
- $deviceTypeApp : mixed
- $deviceTypeBot : mixed
- $deviceTypeDownloader : mixed
- $deviceTypeMobile : mixed
- $deviceTypePC : mixed
- $deviceTypeScript : mixed
- $edge : mixed
- $firefox : mixed
- $firefoxClone : mixed
- $frames : mixed
- $fullname : mixed
- $ie : mixed
- $iframe : mixed
- $includeAndroidName : mixed
- $includeMacOSName : mixed
- $includeWindowsName : mixed
- $internetexplorer : mixed
- $internetexplorerClone : mixed
- $ios : mixed
- $iosVersion : mixed
- $java : mixed
- $javascript : mixed
- $knownbrowser : mixed
- $linux : mixed
- $macos : mixed
- $macosVersion : mixed
- $macosx : mixed
- $microsoftEdge : mixed
- $mobile : mixed
- $opera : mixed
- $osname : mixed
- $osver : mixed
- $rawVersion : mixed
- $regexpattern : mixed
- $safari : mixed
- $treatClonesAsTheRealThing : mixed
- $treatMicrosoftEdgeLikeLegacyInternetExplorer : mixed
- $type : mixed
- $userAgentString : mixed
- $vbscript : mixed
- $windows : mixed
- $windowsNTVersion : mixed
- $x64 : mixed
- $x86 : mixed
Methods
- getOperatingSystemVersion() : mixed
- getRawVersion() : mixed
- mypreg_match() : mixed
- parseUserAgentString() : mixed
- processAndroidVersion() : mixed
- processOperatingSystemString() : mixed
- StringContains() : mixed
Properties
$activex
public
mixed
$activex
= \false
$android
public
mixed
$android
$androidVersion
public
mixed
$androidVersion
$backgroundsounds
public
mixed
$backgroundsounds
= \false
$browsername
public
mixed
$browsername
= ""
$browserversion
public
mixed
$browserversion
= ""
$bsd
public
mixed
$bsd
= \false
$chrome
public
mixed
$chrome
= \false
$chromeClone
public
mixed
$chromeClone
= \false
$chromeEdge
public
mixed
$chromeEdge
= \false
$chromeos
public
mixed
$chromeos
= \false
$classVersion
public
mixed
$classVersion
= "1.38"
$cookies
public
mixed
$cookies
= \false
$css
public
mixed
$css
= \false
$css1
public
mixed
$css1
= \false
$css2
public
mixed
$css2
= \false
$deviceTypeApp
public
mixed
$deviceTypeApp
= "app"
$deviceTypeBot
public
mixed
$deviceTypeBot
= "bot"
$deviceTypeDownloader
public
mixed
$deviceTypeDownloader
= "downloader"
$deviceTypeMobile
public
mixed
$deviceTypeMobile
= "mobile"
$deviceTypePC
public
mixed
$deviceTypePC
= "PC"
$deviceTypeScript
public
mixed
$deviceTypeScript
= "script"
$edge
public
mixed
$edge
= \false
$firefox
public
mixed
$firefox
= \false
$firefoxClone
public
mixed
$firefoxClone
= \false
$frames
public
mixed
$frames
= \false
$fullname
public
mixed
$fullname
= ""
$ie
public
mixed
$ie
= \false
$iframe
public
mixed
$iframe
= \false
$includeAndroidName
public
mixed
$includeAndroidName
= \true
$includeMacOSName
public
mixed
$includeMacOSName
= \true
$includeWindowsName
public
mixed
$includeWindowsName
= \true
$internetexplorer
public
mixed
$internetexplorer
= \false
$internetexplorerClone
public
mixed
$internetexplorerClone
= \false
$ios
public
mixed
$ios
$iosVersion
public
mixed
$iosVersion
$java
public
mixed
$java
= \false
$javascript
public
mixed
$javascript
= \false
$knownbrowser
public
mixed
$knownbrowser
= \true
$linux
public
mixed
$linux
= \false
$macos
public
mixed
$macos
= \false
$macosVersion
public
mixed
$macosVersion
= ""
$macosx
public
mixed
$macosx
$microsoftEdge
public
mixed
$microsoftEdge
= \false
$mobile
public
mixed
$mobile
= \false
$opera
public
mixed
$opera
= \false
$osname
public
mixed
$osname
= ""
$osver
public
mixed
$osver
= ""
$rawVersion
public
mixed
$rawVersion
= array()
$regexpattern
public
mixed
$regexpattern
= ""
$safari
public
mixed
$safari
= \false
$treatClonesAsTheRealThing
public
mixed
$treatClonesAsTheRealThing
= \true
$treatMicrosoftEdgeLikeLegacyInternetExplorer
public
mixed
$treatMicrosoftEdgeLikeLegacyInternetExplorer
= \false
$type
public
mixed
$type
$userAgentString
public
mixed
$userAgentString
= ""
$vbscript
public
mixed
$vbscript
= \false
$windows
public
mixed
$windows
$windowsNTVersion
public
mixed
$windowsNTVersion
$x64
public
mixed
$x64
= \false
$x86
public
mixed
$x86
= \false
Methods
getOperatingSystemVersion()
public
getOperatingSystemVersion(mixed $operatingSystem) : mixed
Parameters
- $operatingSystem : mixed
getRawVersion()
public
getRawVersion(mixed $matches) : mixed
Parameters
- $matches : mixed
mypreg_match()
public
mypreg_match(mixed $regExPattern, mixed $haystack[, mixed &$matches = "" ]) : mixed
Parameters
- $regExPattern : mixed
- $haystack : mixed
- $matches : mixed = ""
parseUserAgentString()
public
parseUserAgentString(mixed $userAgent) : mixed
Parameters
- $userAgent : mixed
processAndroidVersion()
public
processAndroidVersion(mixed $version) : mixed
Parameters
- $version : mixed
processOperatingSystemString()
public
processOperatingSystemString(mixed $userAgent) : mixed
Parameters
- $userAgent : mixed
StringContains()
public
StringContains(mixed $haystack, mixed $needle) : mixed
Parameters
- $haystack : mixed
- $needle : mixed