Browser
Modified to remove var Chris Christoff on 12/26/2012 Changes: Changes vars to publics
Description Description
Modified to work for EDD by Chris Christoff on 12/23/2012 Changes: Removed the browser string return and added spacing. Also removed return HTML formatting.
Modified to add formatted User Agent string for EDD System Info by Chris Christoff on 12/23/2012 Changes: Split user string and add formatting so we can print a nicely formatted user agent string on the EDD System Info
File: Browser.php Author: Chris Schuld (http://chrisschuld.com/) Last Modified: August 20th, 2010
Source Source
File: includes/libs/browser.php
Expand full source code Collapse full source code View on Trac
Methods Methods
- __construct
- __toString — Returns a formatted string with a summary of the details of the browser.
- checkBrowserAmaya — Determine if the browser is Amaya or not (last updated 1.7)
- checkBrowserAndroid — Determine if the browser is Android or not (last updated 1.7)
- checkBrowserBlackBerry — Determine if the user is using a BlackBerry (last updated 1.7)
- checkBrowserChrome — Determine if the browser is Chrome or not (last updated 1.7)
- checkBrowserFirebird — Determine if the browser is Firebird or not (last updated 1.7)
- checkBrowserFirefox — Determine if the browser is Firefox or not (last updated 1.7)
- checkBrowserGaleon — Determine if the browser is Galeon or not (last updated 1.7)
- checkBrowserGoogleBot — Determine if the browser is the GoogleBot or not (last updated 1.7)
- checkBrowserIcab — Determine if the browser is iCab or not (last updated 1.7)
- checkBrowserIceCat — Determine if the browser is Ice Cat or not (http://en.wikipedia.org/wiki/GNU_IceCat) (last updated 1.7)
- checkBrowserIceweasel — Determine if the browser is Firefox or not (last updated 1.7)
- checkBrowserInternetExplorer — Determine if the browser is Internet Explorer or not (last updated 1.7)
- checkBrowseriPad — Determine if the browser is iPod or not (last updated 1.7)
- checkBrowseriPhone — Determine if the browser is iPhone or not (last updated 1.7)
- checkBrowseriPod — Determine if the browser is iPod or not (last updated 1.7)
- checkBrowserKonqueror — Determine if the browser is Konqueror or not (last updated 1.7)
- checkBrowserLynx — Determine if the browser is Lynx or not (last updated 1.7)
- checkBrowserMozilla — Determine if the browser is Mozilla or not (last updated 1.7)
- checkBrowserMSNBot — Determine if the browser is the MSNBot or not (last updated 1.9)
- checkBrowserNetPositive — Determine if the browser is NetPositive or not (last updated 1.7)
- checkBrowserNetscapeNavigator9Plus — Determine if the browser is Netscape Navigator 9+ or not (last updated 1.7) NOTE: (http://browser.netscape.com/ - Official support ended on March 1st, 2008)
- checkBrowserNokia — Determine if the browser is Nokia or not (last updated 1.7)
- checkBrowserOmniWeb — Determine if the browser is OmniWeb or not (last updated 1.7)
- checkBrowserOpera — Determine if the browser is Opera or not (last updated 1.7)
- checkBrowserPhoenix — Determine if the browser is Phoenix or not (last updated 1.7)
- checkBrowsers — Protected routine to determine the browser type
- checkBrowserSafari — Determine if the browser is Safari or not (last updated 1.7)
- checkBrowserShiretoko — Determine if the browser is Shiretoko or not (https://wiki.mozilla.org/Projects/shiretoko) (last updated 1.7)
- checkBrowserSlurp — Determine if the browser is the Yahoo! Slurp Robot or not (last updated 1.7)
- checkBrowserW3CValidator — Determine if the browser is the W3C Validator or not (last updated 1.7)
- checkBrowserWebTv — Determine if the browser is WebTv or not (last updated 1.7)
- checkForAol — Determine if the user is using an AOL User Agent (last updated 1.7)
- checkPlatform — Determine the user's platform (last updated 1.7)
- determine — Protected routine to calculate and determine what the browser is in use (including platform)
- getAolVersion — The version of AOL.
- getBrowser — The name of the browser. All return types are from the class contants
- getPlatform — The name of the platform. All return types are from the class contants
- getUserAgent — Get the user agent value in use to determine the browser
- getVersion — The version of the browser.
- isAol — Is the browser from AOL?
- isBrowser — Check to see if the specific browser is valid
- isChromeFrame — Used to determine if the browser is actually "chromeframe"
- isMobile — Is the browser from a mobile device?
- isRobot — Is the browser from a robot (ex Slurp,GoogleBot)?
- reset — Reset all properties
- setAol — Set the browser to be from AOL
- setAolVersion — Set the version of AOL
- setBrowser — Set the name of the browser
- setMobile — Set the Browser to be mobile
- setPlatform — Set the name of the platform
- setRobot — Set the Browser to be a robot
- setUserAgent — Set the user agent value (the construction will use the HTTP header value - this will overwrite it)
- setVersion — Set the version of the browser