Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ g ]
[ i ]
[ m ]
[ p ]
[ r ]
[ s ]
[ v ]
[ w ]
[ _ ]
a
- androidVerToStr
- in file BrowserDetection.php, method BrowserDetection::androidVerToStr()
Convert the Android version numbers to the operating system name. For instance '1.6' returns 'Donut'.
top
b
- BrowserDetection
- in file BrowserDetection.php, class BrowserDetection
The BrowserDetection class facilitates the identification of the user's environment such as Web browser, version, platform or if it's a mobile device.
- BrowserDetection.php
- procedural page BrowserDetection.php
- BROWSER_AMAYA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_AMAYA
Constant for the name of the Web browser.
- BROWSER_ANDROID
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ANDROID
Constant for the name of the Web browser.
- BROWSER_BINGBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_BINGBOT
Constant for the name of the Web browser.
- BROWSER_BLACKBERRY
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_BLACKBERRY
Constant for the name of the Web browser.
- BROWSER_CHROME
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_CHROME
Constant for the name of the Web browser.
- BROWSER_EDGE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_EDGE
Constant for the name of the Web browser.
- BROWSER_FIREBIRD
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_FIREBIRD
Constant for the name of the Web browser.
- BROWSER_FIREFOX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_FIREFOX
Constant for the name of the Web browser.
- BROWSER_GALEON
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_GALEON
Constant for the name of the Web browser.
- BROWSER_GOOGLEBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_GOOGLEBOT
Constant for the name of the Web browser.
- BROWSER_ICAB
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICAB
Constant for the name of the Web browser.
- BROWSER_ICECAT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICECAT
Constant for the name of the Web browser.
- BROWSER_ICEWEASEL
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICEWEASEL
Constant for the name of the Web browser.
- BROWSER_IE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_IE
Constant for the name of the Web browser.
- BROWSER_IE_MOBILE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_IE_MOBILE
Constant for the name of the Web browser.
- BROWSER_KONQUEROR
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_KONQUEROR
Constant for the name of the Web browser.
- BROWSER_LYNX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_LYNX
Constant for the name of the Web browser.
- BROWSER_MOZILLA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MOZILLA
Constant for the name of the Web browser.
- BROWSER_MSNBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MSNBOT
Constant for the name of the Web browser.
- BROWSER_MSNTV
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MSNTV
Constant for the name of the Web browser.
- BROWSER_NETPOSITIVE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NETPOSITIVE
Constant for the name of the Web browser.
- BROWSER_NETSCAPE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NETSCAPE
Constant for the name of the Web browser.
- BROWSER_NOKIA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NOKIA
Constant for the name of the Web browser.
- BROWSER_OMNIWEB
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OMNIWEB
Constant for the name of the Web browser.
- BROWSER_OPERA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA
Constant for the name of the Web browser.
- BROWSER_OPERA_MINI
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA_MINI
Constant for the name of the Web browser.
- BROWSER_OPERA_MOBILE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA_MOBILE
Constant for the name of the Web browser.
- BROWSER_PHOENIX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_PHOENIX
Constant for the name of the Web browser.
- BROWSER_SAFARI
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_SAFARI
Constant for the name of the Web browser.
- BROWSER_SAMSUNG
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_SAMSUNG
Constant for the name of the Web browser.
- BROWSER_SLURP
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_SLURP
Constant for the name of the Web browser.
- BROWSER_TABLET_OS
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_TABLET_OS
Constant for the name of the Web browser.
- BROWSER_UNKNOWN
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_UNKNOWN
Constant for the name of the Web browser.
- BROWSER_VIVALDI
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_VIVALDI
Constant for the name of the Web browser.
- BROWSER_W3CVALIDATOR
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_W3CVALIDATOR
Constant for the name of the Web browser.
- BROWSER_YAHOO_MM
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_YAHOO_MM
Constant for the name of the Web browser.
top
c
- checkBrowserAmaya
- in file BrowserDetection.php, method BrowserDetection::checkBrowserAmaya()
Determine if the browser is the Amaya Web editor or not.
- checkBrowserAndroid
- in file BrowserDetection.php, method BrowserDetection::checkBrowserAndroid()
Determine if the browser is the Android browser (based on the WebKit layout engine and coupled with Chrome's JavaScript engine) or not.
- checkBrowserBingbot
- in file BrowserDetection.php, method BrowserDetection::checkBrowserBingbot()
Determine if the browser is the Bingbot crawler or not.
- checkBrowserBlackBerry
- in file BrowserDetection.php, method BrowserDetection::checkBrowserBlackBerry()
Determine if the browser is the BlackBerry browser or not.
- checkBrowserChrome
- in file BrowserDetection.php, method BrowserDetection::checkBrowserChrome()
Determine if the browser is Chrome or not.
- checkBrowserEdge
- in file BrowserDetection.php, method BrowserDetection::checkBrowserEdge()
Determine if the browser is Edge or not.
- checkBrowserFirebird
- in file BrowserDetection.php, method BrowserDetection::checkBrowserFirebird()
Determine if the browser is Firebird or not. Firebird was the name of Firefox from version 0.6 to 0.7.1.
- checkBrowserFirefox
- in file BrowserDetection.php, method BrowserDetection::checkBrowserFirefox()
Determine if the browser is Firefox or not.
- checkBrowserGaleon
- in file BrowserDetection.php, method BrowserDetection::checkBrowserGaleon()
Determine if the browser is Galeon or not. The browser was discontinued on September 27, 2008.
- checkBrowserGooglebot
- in file BrowserDetection.php, method BrowserDetection::checkBrowserGooglebot()
Determine if the browser is the Googlebot crawler or not.
- checkBrowserIcab
- in file BrowserDetection.php, method BrowserDetection::checkBrowserIcab()
Determine if the browser is iCab or not.
- checkBrowserIceCat
- in file BrowserDetection.php, method BrowserDetection::checkBrowserIceCat()
Determine if the browser is GNU IceCat (formerly known as GNU IceWeasel) or not.
- checkBrowserIceWeasel
- in file BrowserDetection.php, method BrowserDetection::checkBrowserIceWeasel()
Determine if the browser is GNU IceWeasel (now know as GNU IceCat) or not.
- checkBrowserInternetExplorer
- in file BrowserDetection.php, method BrowserDetection::checkBrowserInternetExplorer()
Determine if the browser is Internet Explorer or not.
- checkBrowserKonqueror
- in file BrowserDetection.php, method BrowserDetection::checkBrowserKonqueror()
Determine if the browser is Konqueror or not.
- checkBrowserLynx
- in file BrowserDetection.php, method BrowserDetection::checkBrowserLynx()
Determine if the browser is Lynx or not. It is the oldest web browser currently in general use and development.
- checkBrowserMozilla
- in file BrowserDetection.php, method BrowserDetection::checkBrowserMozilla()
Determine if the browser is Mozilla or not.
- checkBrowserMsnBot
- in file BrowserDetection.php, method BrowserDetection::checkBrowserMsnBot()
Determine if the browser is the MSNBot crawler or not. In October 2010 it was replaced by the Bingbot robot.
- checkBrowserMsnTv
- in file BrowserDetection.php, method BrowserDetection::checkBrowserMsnTv()
Determine if the browser is MSN TV (formerly WebTV) or not.
- checkBrowserNetPositive
- in file BrowserDetection.php, method BrowserDetection::checkBrowserNetPositive()
Determine if the browser is NetPositive or not. The browser is discontinued since November 2001.
- checkBrowserNetscape
- in file BrowserDetection.php, method BrowserDetection::checkBrowserNetscape()
Determine if the browser is Netscape or not. Official support for this browser ended on March 1st, 2008.
- checkBrowserNokia
- in file BrowserDetection.php, method BrowserDetection::checkBrowserNokia()
Determine if the browser is a Nokia browser or not.
- checkBrowserOmniWeb
- in file BrowserDetection.php, method BrowserDetection::checkBrowserOmniWeb()
Determine if the browser is OmniWeb or not.
- checkBrowserOpera
- in file BrowserDetection.php, method BrowserDetection::checkBrowserOpera()
Determine if the browser is Opera or not.
- checkBrowserPhoenix
- in file BrowserDetection.php, method BrowserDetection::checkBrowserPhoenix()
Determine if the browser is Phoenix or not. Phoenix was the name of Firefox from version 0.1 to 0.5.
- checkBrowsers
- in file BrowserDetection.php, method BrowserDetection::checkBrowsers()
Determine what is the browser used by the user.
- checkBrowserSafari
- in file BrowserDetection.php, method BrowserDetection::checkBrowserSafari()
Determine if the browser is Safari or not.
- checkBrowserSamsung
- in file BrowserDetection.php, method BrowserDetection::checkBrowserSamsung()
Determine if the browser is the Samsung Internet browser or not.
- checkBrowserSlurp
- in file BrowserDetection.php, method BrowserDetection::checkBrowserSlurp()
Determine if the browser is the Yahoo! Slurp crawler or not.
- checkBrowserUAWithVersion
- in file BrowserDetection.php, method BrowserDetection::checkBrowserUAWithVersion()
Test the user agent for a specific browser that use a "Version" string (like Safari and Opera). The user agent should look like: "Version/1.0 Browser name/123.456" or "Browser name/123.456 Version/1.0".
- checkBrowserVivaldi
- in file BrowserDetection.php, method BrowserDetection::checkBrowserVivaldi()
Determine if the browser is Vivaldi or not.
- checkBrowserW3CValidator
- in file BrowserDetection.php, method BrowserDetection::checkBrowserW3CValidator()
Determine if the browser is the W3C Validator or not.
- checkBrowserYahooMultimedia
- in file BrowserDetection.php, method BrowserDetection::checkBrowserYahooMultimedia()
Determine if the browser is the Yahoo! multimedia crawler or not.
- checkForAol
- in file BrowserDetection.php, method BrowserDetection::checkForAol()
Determine if the user is using an AOL "optimized" browser or not.
- checkPlatform
- in file BrowserDetection.php, method BrowserDetection::checkPlatform()
Determine the user's platform.
- checkPlatformVersion
- in file BrowserDetection.php, method BrowserDetection::checkPlatformVersion()
Determine the user's platform version.
- checkSimpleBrowserUA
- in file BrowserDetection.php, method BrowserDetection::checkSimpleBrowserUA()
Test the user agent for a specific browser where the browser name is immediately followed by the version number.
- cleanVersion
- in file BrowserDetection.php, method BrowserDetection::cleanVersion()
Clean a version string from unwanted characters.
- compareVersions
- in file BrowserDetection.php, method BrowserDetection::compareVersions()
Compare two version number strings.
- containString
- in file BrowserDetection.php, method BrowserDetection::containString()
Find if one or more substring is contained in a string.
top
d
- detect
- in file BrowserDetection.php, method BrowserDetection::detect()
Detect the user environment from the details in the user agent string.
top
g
- getAolVersion
- in file BrowserDetection.php, method BrowserDetection::getAolVersion()
Get the version of AOL (if any). AOL releases "optimized" Internet Explorer and Firefox versions. In the making they add their version number in the user agent string of these browsers.
- getIECompatibilityView
- in file BrowserDetection.php, method BrowserDetection::getIECompatibilityView()
Get the name and version of the browser emulated in the compatibility view mode (if any). Since Internet Explorer 8, IE can be put in compatibility mode to make websites that were created for older browsers, especially IE 6 and 7, look better in IE 8+ which renders web pages closer to the standards and thus differently from those older versions of IE.
- getName
- in file BrowserDetection.php, method BrowserDetection::getName()
Get the name of the browser. All of the return values are class constants. You can compare them like this: $myBrowserInstance->getName() == BrowserDetection::BROWSER_FIREFOX.
- getPlatform
- in file BrowserDetection.php, method BrowserDetection::getPlatform()
Get the name of the platform family on which the browser is run on (such as Windows, Apple, iPhone, etc.). All of the return values are class constants. You can compare them like this: $myBrowserInstance->getPlatform() == BrowserDetection::PLATFORM_ANDROID.
- getPlatformVersion
- in file BrowserDetection.php, method BrowserDetection::getPlatformVersion()
Get the platform version on which the browser is run on. It can be returned as a string number like 'NT 6.3' or as a name like 'Windows 8.1'. When returning version string numbers for Windows NT OS families the number is prefixed by 'NT ' to differentiate from older Windows 3.x & 9x release. At the moment only the Windows and Android operating systems are supported.
- getUserAgent
- in file BrowserDetection.php, method BrowserDetection::getUserAgent()
Get the user agent value used by the class to determine the browser details.
- getVersion
- in file BrowserDetection.php, method BrowserDetection::getVersion()
Get the version of the browser.
top
i
- is64bitPlatform
- in file BrowserDetection.php, method BrowserDetection::is64bitPlatform()
Determine if the browser is executed from a 64-bit platform. Keep in mind that not all platforms/browsers report this and the result may not always be accurate.
- isAol
- in file BrowserDetection.php, method BrowserDetection::isAol()
Determine if the browser is from AOL. AOL releases "optimized" Internet Explorer and Firefox versions. In the making they add their details in the user agent string of these browsers.
- isChromeFrame
- in file BrowserDetection.php, method BrowserDetection::isChromeFrame()
Determine if the browser runs Google Chrome Frame (it's a plug-in designed for Internet Explorer 6+ based on the open-source Chromium project - it's like a Chrome browser within IE).
- isInIECompatibilityView
- in file BrowserDetection.php, method BrowserDetection::isInIECompatibilityView()
Determine if the browser is in compatibility view or not. Since Internet Explorer 8, IE can be put in compatibility mode to make websites that were created for older browsers, especially IE 6 and 7, look better in IE 8+ which renders web pages closer to the standards and thus differently from those older versions of IE.
- isMobile
- in file BrowserDetection.php, method BrowserDetection::isMobile()
Determine if the browser is from a mobile device or not.
- isRobot
- in file BrowserDetection.php, method BrowserDetection::isRobot()
Determine if the browser is a robot (Googlebot, Bingbot, Yahoo! Slurp...) or not.
top
m
- macVerToStr
- in file BrowserDetection.php, method BrowserDetection::macVerToStr()
Convert the macOS version numbers to the operating system name. For instance '10.7' returns 'Mac OS X Lion'.
top
p
- parseInt
- in file BrowserDetection.php, method BrowserDetection::parseInt()
Get the integer value of a string variable.
- PLATFORM_ANDROID
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_ANDROID
Constant for the name of the platform of the Web browser.
- PLATFORM_BEOS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_BEOS
Constant for the name of the platform of the Web browser.
- PLATFORM_BLACKBERRY
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_BLACKBERRY
Constant for the name of the platform of the Web browser.
- PLATFORM_FREEBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_FREEBSD
Constant for the name of the platform of the Web browser.
- PLATFORM_IPAD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPAD
Constant for the name of the platform of the Web browser.
- PLATFORM_IPHONE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPHONE
Constant for the name of the platform of the Web browser.
- PLATFORM_IPOD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPOD
Constant for the name of the platform of the Web browser.
- PLATFORM_LINUX
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_LINUX
Constant for the name of the platform of the Web browser.
- PLATFORM_MACINTOSH
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_MACINTOSH
Constant for the name of the platform of the Web browser.
- PLATFORM_NETBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NETBSD
Constant for the name of the platform of the Web browser.
- PLATFORM_NOKIA
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NOKIA
Constant for the name of the platform of the Web browser.
- PLATFORM_OPENBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENBSD
Constant for the name of the platform of the Web browser.
- PLATFORM_OPENSOLARIS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENSOLARIS
Constant for the name of the platform of the Web browser.
- PLATFORM_OS2
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OS2
Constant for the name of the platform of the Web browser.
- PLATFORM_SUNOS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_SUNOS
Constant for the name of the platform of the Web browser.
- PLATFORM_SYMBIAN
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_SYMBIAN
Constant for the name of the platform of the Web browser.
- PLATFORM_UNKNOWN
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_UNKNOWN
Constant for the name of the platform of the Web browser.
- PLATFORM_VERSION_UNKNOWN
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_VERSION_UNKNOWN
Constant for the name of the platform of the Web browser.
- PLATFORM_WINDOWS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS
Constant for the name of the platform of the Web browser.
- PLATFORM_WINDOWS_CE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_CE
Constant for the name of the platform of the Web browser.
- PLATFORM_WINDOWS_PHONE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_PHONE
Constant for the name of the platform of the Web browser.
top
top
s
- safariBuildToSafariVer
- in file BrowserDetection.php, method BrowserDetection::safariBuildToSafariVer()
Convert a Safari build number to a Safari version number.
- set64bit
- in file BrowserDetection.php, method BrowserDetection::set64bit()
Set if the browser is executed from a 64-bit platform.
- setAol
- in file BrowserDetection.php, method BrowserDetection::setAol()
Set the browser to be from AOL or not.
- setAolVersion
- in file BrowserDetection.php, method BrowserDetection::setAolVersion()
Set the version of AOL.
- setBrowser
- in file BrowserDetection.php, method BrowserDetection::setBrowser()
Set the name of the browser.
- setMobile
- in file BrowserDetection.php, method BrowserDetection::setMobile()
Set the browser to be from a mobile device or not.
- setPlatform
- in file BrowserDetection.php, method BrowserDetection::setPlatform()
Set the platform on which the browser is on.
- setPlatformVersion
- in file BrowserDetection.php, method BrowserDetection::setPlatformVersion()
Set the platform version on which the browser is on.
- setRobot
- in file BrowserDetection.php, method BrowserDetection::setRobot()
Set the browser to be a robot (crawler) or not.
- setUserAgent
- in file BrowserDetection.php, method BrowserDetection::setUserAgent()
Set the user agent to use with the class.
- setVersion
- in file BrowserDetection.php, method BrowserDetection::setVersion()
Set the version of the browser.
top
top
w
- webKitBuildToSafariVer
- in file BrowserDetection.php, method BrowserDetection::webKitBuildToSafariVer()
Convert a WebKit build number to a Safari version number.
- windowsNTVerToStr
- in file BrowserDetection.php, method BrowserDetection::windowsNTVerToStr()
Convert the Windows NT family version numbers to the operating system name. For instance '5.1' returns 'Windows XP'.
- windowsVerToStr
- in file BrowserDetection.php, method BrowserDetection::windowsVerToStr()
Convert the Windows 3.x & 9x family version numbers to the operating system name. For instance '4.10.1998' returns 'Windows 98'.
top
_
- $_agent
- in file BrowserDetection.php, variable BrowserDetection::$_agent
- $_aolVersion
- in file BrowserDetection.php, variable BrowserDetection::$_aolVersion
- $_browserName
- in file BrowserDetection.php, variable BrowserDetection::$_browserName
- $_compatibilityViewName
- in file BrowserDetection.php, variable BrowserDetection::$_compatibilityViewName
- $_compatibilityViewVer
- in file BrowserDetection.php, variable BrowserDetection::$_compatibilityViewVer
- $_is64bit
- in file BrowserDetection.php, variable BrowserDetection::$_is64bit
- $_isAol
- in file BrowserDetection.php, variable BrowserDetection::$_isAol
- $_isMobile
- in file BrowserDetection.php, variable BrowserDetection::$_isMobile
- $_isRobot
- in file BrowserDetection.php, variable BrowserDetection::$_isRobot
- $_platform
- in file BrowserDetection.php, variable BrowserDetection::$_platform
- $_platformVersion
- in file BrowserDetection.php, variable BrowserDetection::$_platformVersion
- $_version
- in file BrowserDetection.php, variable BrowserDetection::$_version
- __construct
- in file BrowserDetection.php, method BrowserDetection::__construct()
BrowserDetection class constructor.
- __toString
- in file BrowserDetection.php, method BrowserDetection::__toString()
Determine how the class will react when it is treated like a string.
top
|
|