Browser_Detection
[ class tree: Browser_Detection ] [ index: Browser_Detection ] [ all elements ]

Element index for package Browser_Detection

[ a ] [ b ] [ c ] [ d ] [ f ] [ g ] [ i ] [ m ] [ p ] [ r ] [ s ] [ v ] [ w ] [ _ ]

_

$_agent
in file BrowserDetection.php, variable BrowserDetection::$_agent
$_browserName
in file BrowserDetection.php, variable BrowserDetection::$_browserName
$_compatibilityViewName
in file BrowserDetection.php, variable BrowserDetection::$_compatibilityViewName
$_compatibilityViewVer
in file BrowserDetection.php, variable BrowserDetection::$_compatibilityViewVer
$_customBrowserDetection
in file BrowserDetection.php, variable BrowserDetection::$_customBrowserDetection
$_customPlatformDetection
in file BrowserDetection.php, variable BrowserDetection::$_customPlatformDetection
$_customRobotDetection
in file BrowserDetection.php, variable BrowserDetection::$_customRobotDetection
$_is64bit
in file BrowserDetection.php, variable BrowserDetection::$_is64bit
$_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
$_robotName
in file BrowserDetection.php, variable BrowserDetection::$_robotName
$_robotVersion
in file BrowserDetection.php, variable BrowserDetection::$_robotVersion
$_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

a

addCustomBrowserDetection
in file BrowserDetection.php, method BrowserDetection::addCustomBrowserDetection()
    Dynamically add support for a new Web browser.
addCustomPlatformDetection
in file BrowserDetection.php, method BrowserDetection::addCustomPlatformDetection()
    Dynamically add support for a new platform.
addCustomRobotDetection
in file BrowserDetection.php, method BrowserDetection::addCustomRobotDetection()
    Dynamically add support for a new robot.
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 and device type.
BrowserDetection.php
procedural page BrowserDetection.php
BROWSER_ANDROID
in file BrowserDetection.php, class constant BrowserDetection::BROWSER_ANDROID
    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_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_MSNTV
in file BrowserDetection.php, class constant BrowserDetection::BROWSER_MSNTV
    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_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_TABLET_OS
in file BrowserDetection.php, class constant BrowserDetection::BROWSER_TABLET_OS
    Constant for the name of the Web browser.
BROWSER_UC
in file BrowserDetection.php, class constant BrowserDetection::BROWSER_UC
    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.
top

c

checkBrowser
in file BrowserDetection.php, method BrowserDetection::checkBrowser()
    Determine what is the browser used by the user.
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.
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.
checkBrowserCustom
in file BrowserDetection.php, method BrowserDetection::checkBrowserCustom()
    Determine if the browser is among the custom browser rules or not. Rules are checked in the order they were added.
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.
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.
checkBrowserMsnTv
in file BrowserDetection.php, method BrowserDetection::checkBrowserMsnTv()
    Determine if the browser is MSN TV (formerly WebTV) or not.
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.
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.
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.
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".
checkBrowserUC
in file BrowserDetection.php, method BrowserDetection::checkBrowserUC()
    Determine if the browser is UC Browser or not.
checkPlatform
in file BrowserDetection.php, method BrowserDetection::checkPlatform()
    Determine the user's platform.
checkPlatformCustom
in file BrowserDetection.php, method BrowserDetection::checkPlatformCustom()
    Determine if the platform is among the custom platform rules or not. Rules are checked in the order they were added.
checkPlatformVersion
in file BrowserDetection.php, method BrowserDetection::checkPlatformVersion()
    Determine the user's platform version.
checkRobot
in file BrowserDetection.php, method BrowserDetection::checkRobot()
    Determine if it's a robot crawling the page and find it's name and version.
checkRobotBingbot
in file BrowserDetection.php, method BrowserDetection::checkRobotBingbot()
    Determine if the robot is the Bingbot crawler or not.
checkRobotCustom
in file BrowserDetection.php, method BrowserDetection::checkRobotCustom()
    Determine if the robot is among the custom robot rules or not. Rules are checked in the order they were added.
checkRobotGooglebot
in file BrowserDetection.php, method BrowserDetection::checkRobotGooglebot()
    Determine if the robot is the Googlebot crawler or not.
checkRobotMsnBot
in file BrowserDetection.php, method BrowserDetection::checkRobotMsnBot()
    Determine if the robot is the MSNBot crawler or not. In October 2010 it was replaced by the Bingbot robot.
checkRobotSlurp
in file BrowserDetection.php, method BrowserDetection::checkRobotSlurp()
    Determine if the robot is the Yahoo! Slurp crawler or not.
checkRobotW3CValidator
in file BrowserDetection.php, method BrowserDetection::checkRobotW3CValidator()
    Determine if the robot is the W3C Validator or not.
checkRobotYahooMultimedia
in file BrowserDetection.php, method BrowserDetection::checkRobotYahooMultimedia()
    Determine if the robot is the Yahoo! multimedia crawler or not.
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.
checkSimpleRobot
in file BrowserDetection.php, method BrowserDetection::checkSimpleRobot()
    Test the user agent for a specific robot where the robot 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

f

findAndGetVersion
in file BrowserDetection.php, method BrowserDetection::findAndGetVersion()
    Test the user agent for a specific browser and extract it's version.
top

g

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.
getLibVersion
in file BrowserDetection.php, method BrowserDetection::getLibVersion()
    Return the BrowserDetection class version.
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, 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.
getRobotName
in file BrowserDetection.php, method BrowserDetection::getRobotName()
    Get the name of the robot. All of the return values are class constants. You can compare them like this: $myBrowserInstance->getRobotName() == BrowserDetection::ROBOT_GOOGLEBOT.
getRobotVersion
in file BrowserDetection.php, method BrowserDetection::getRobotVersion()
    Get the version of the robot.
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

iOSVerToStr
in file BrowserDetection.php, method BrowserDetection::iOSVerToStr()
    Convert the iOS version numbers to the operating system name. For instance '2.0' returns 'iPhone OS 2.0'.
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.
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 on which the Web browser runs.
PLATFORM_BLACKBERRY
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_BLACKBERRY
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_CHROME_OS
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_CHROME_OS
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_FREEBSD
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_FREEBSD
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_IOS
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_IOS
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_LINUX
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_LINUX
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_MACINTOSH
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_MACINTOSH
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_NETBSD
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NETBSD
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_NOKIA
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_NOKIA
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_OPENBSD
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENBSD
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_OPENSOLARIS
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_OPENSOLARIS
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_SYMBIAN
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_SYMBIAN
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_UNKNOWN
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_UNKNOWN
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_VERSION_UNKNOWN
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_VERSION_UNKNOWN
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_WINDOWS
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_WINDOWS_CE
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_CE
    Constant for the name of the platform on which the Web browser runs.
PLATFORM_WINDOWS_PHONE
in file BrowserDetection.php, class constant BrowserDetection::PLATFORM_WINDOWS_PHONE
    Constant for the name of the platform on which the Web browser runs.
top

r

removeCustomBrowserDetection
in file BrowserDetection.php, method BrowserDetection::removeCustomBrowserDetection()
    Remove support for a previously added Web browser.
removeCustomPlatformDetection
in file BrowserDetection.php, method BrowserDetection::removeCustomPlatformDetection()
    Remove support for a previously added platform.
removeCustomRobotDetection
in file BrowserDetection.php, method BrowserDetection::removeCustomRobotDetection()
    Remove support for a previously added robot.
reset
in file BrowserDetection.php, method BrowserDetection::reset()
    Reset all the properties of the class.
ROBOT_BINGBOT
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_BINGBOT
    Constant for the name of the robot.
ROBOT_GOOGLEBOT
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_GOOGLEBOT
    Constant for the name of the robot.
ROBOT_MSNBOT
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_MSNBOT
    Constant for the name of the robot.
ROBOT_SLURP
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_SLURP
    Constant for the name of the robot.
ROBOT_UNKNOWN
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_UNKNOWN
    Constant for the name of the robot.
ROBOT_VERSION_UNKNOWN
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_VERSION_UNKNOWN
    Constant for the name of the robot.
ROBOT_W3CVALIDATOR
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_W3CVALIDATOR
    Constant for the name of the robot.
ROBOT_YAHOO_MM
in file BrowserDetection.php, class constant BrowserDetection::ROBOT_YAHOO_MM
    Constant for the name of the robot.
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.
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.
setRobotName
in file BrowserDetection.php, method BrowserDetection::setRobotName()
    Set the name of the robot.
setRobotVersion
in file BrowserDetection.php, method BrowserDetection::setRobotVersion()
    Set the version of the robot.
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

v

VERSION_UNKNOWN
in file BrowserDetection.php, class constant BrowserDetection::VERSION_UNKNOWN
    Version unknown constant.
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'.
wordPos
in file BrowserDetection.php, method BrowserDetection::wordPos()
    Find the position of the first occurrence of a word in a string.
top

Documentation generated on Tue, 20 Sep 2022 23:35:12 -0400 by phpDocumentor 1.4.3