Browser class, provides capability information about the current web client.
Browser identification is performed by examining the HTTP_USER_AGENT environment variable provided by the web server.
This class has many influences from the lib/Browser.php code in version 3 of Horde by Chuck Hagenbuch and Jon Parise.
Located in /libraries/joomla/environment/browser.php (line 26)
JObject | --JBrowser
List of viewable image MIME subtypes.
This list of viewable images works for IE and Netscape/Mozilla.
Inherited from JObject
JObject::$_errors
Returns the global Browser object, only creating it if it doesn't already exist.
Identify which of two types is preferred
Create a browser instance (constructor).
Return the full browser agent string.
Retrieve the current browser.
Retrieve the current browser capability.
Returns the server protocol in use on the current server.
Retrieve the current browser's major version.
Retrieve the current browser's minor version.
Return the currently matched platform.
Retrieve unique behavior for the current browser.
Retrieve the current browser's version.
Check the current browser capabilities.
Check unique behavior for the current browser.
Determine if the given browser is the same as the current.
Determines if the browser is mobile version or not.
Determines if the browser is a robot or not.
Determine if we are using a secure (SSL) connection.
Determines if a browser can display a given MIME type.
Note that image/jpeg and image/pjpeg *appear* to be the same entity, but Mozilla doesn't seem to want to accept the latter. For our purposes, we will treat them the same.
Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
Sets the current browser.
Set capabilities for the current browser.
Internal copy of JBrowser::setQuirk() to prevent deprecation warning.
Internal copy of JBrowser::setFeature() to prevent deprecation warning.
Match the platform of the browser.
This is a pretty simplistic implementation, but it's intended to let us tell what line breaks to send, so it's good enough for its purpose.
Set unique behavior for the current browser.
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()
Documentation generated on Mon, 25 Jun 2012 13:52:38 -0500 by phpDocumentor 1.4.4