Index of all elements
[ b ]
[ c ]
[ d ]
[ g ]
[ i ]
[ p ]
[ r ]
[ s ]
[ v ]
[ w ]
[ _ ]
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
- BROWSER_ANDROID
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ANDROID
- BROWSER_BINGBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_BINGBOT
- BROWSER_BLACKBERRY
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_BLACKBERRY
- BROWSER_CHROME
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_CHROME
- BROWSER_FIREBIRD
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_FIREBIRD
- BROWSER_FIREFOX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_FIREFOX
- BROWSER_GALEON
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_GALEON
- BROWSER_GOOGLEBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_GOOGLEBOT
- BROWSER_ICAB
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICAB
- BROWSER_ICECAT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICECAT
- BROWSER_ICEWEASEL
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ICEWEASEL
- BROWSER_IE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_IE
- BROWSER_IE_MOBILE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_IE_MOBILE
- BROWSER_KONQUEROR
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_KONQUEROR
- BROWSER_LYNX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_LYNX
- BROWSER_MOZILLA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MOZILLA
- BROWSER_MSNBOT
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MSNBOT
- BROWSER_MSNTV
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MSNTV
- BROWSER_NETPOSITIVE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NETPOSITIVE
- BROWSER_NETSCAPE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NETSCAPE
- BROWSER_NOKIA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_NOKIA
- BROWSER_OMNIWEB
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OMNIWEB
- BROWSER_OPERA
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA
- BROWSER_OPERA_MINI
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA_MINI
- BROWSER_OPERA_MOBILE
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_OPERA_MOBILE
- BROWSER_PHOENIX
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_PHOENIX
- BROWSER_SAFARI
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_SAFARI
- BROWSER_SLURP
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_SLURP
- BROWSER_TABLET_OS
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_TABLET_OS
- BROWSER_UNKNOWN
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_UNKNOWN
- BROWSER_W3CVALIDATOR
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_W3CVALIDATOR
- BROWSER_YAHOO_MM
- in file BrowserDetection.php, class constant BrowserDetection::BROWSER_YAHOO_MM
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.
- 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.
- 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".
- 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.
- 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.
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.
- getBrowser
- in file BrowserDetection.php, method BrowserDetection::getBrowser()
Get the name of the browser. All of the return values are class constants. You can compare them like this: $myBrowserInstance->getBrowser() == BrowserDetection::BROWSER_FIREFOX.
- 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.
- getPlatform
- in file BrowserDetection.php, method BrowserDetection::getPlatform()
Get the name of the platform on which the browser is runned 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.
- 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
- 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
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
- PLATFORM_BEOS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_BEOS
- PLATFORM_BLACKBERRY
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_BLACKBERRY
- PLATFORM_FREEBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_FREEBSD
- PLATFORM_IPAD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPAD
- PLATFORM_IPHONE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPHONE
- PLATFORM_IPOD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IPOD
- PLATFORM_LINUX
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_LINUX
- PLATFORM_MACINTOSH
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_MACINTOSH
- PLATFORM_NETBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NETBSD
- PLATFORM_NOKIA
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NOKIA
- PLATFORM_OPENBSD
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENBSD
- PLATFORM_OPENSOLARIS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENSOLARIS
- PLATFORM_OS2
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OS2
- PLATFORM_SUNOS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_SUNOS
- PLATFORM_SYMBIAN
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_SYMBIAN
- PLATFORM_UNKNOWN
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_UNKNOWN
- PLATFORM_WINDOWS
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS
- PLATFORM_WINDOWS_CE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_CE
- PLATFORM_WINDOWS_PHONE
- in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_PHONE
top
top
top
top
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
- $_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
- $_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
|
|