From Joomla! Documentation

Revision as of 15:44, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JBrowser

Defined in[edit]






Extended by[edit]


Method name Description
__construct Create a browser instance (constructor).
getAgentString Return the full browser agent string.
getBrowser Retrieve the current browser.
getFeature Retrieve the current browser capability.
getHTTPProtocol Returns the server protocol in use on the current server.
getMajor Retrieve the current browser's major version.
getMinor Retrieve the current browser's minor version.
getPlatform Return the currently matched platform.
getQuirk Retrieve unique behavior for the current browser.
getVersion Retrieve the current browser's version.
hasFeature Check the current browser capabilities.
hasQuirk Check unique behavior for the current browser.
isBrowser Determine if the given browser is the same as the current.
isMobile Determines if the browser is mobile version or not.
isRobot Determines if the browser is a robot or not.
isSSLConnection Determine if we are using a secure (SSL) connection.
isViewable Determines if a browser can display a given MIME type.
match Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
setBrowser Sets the current browser.
setFeature Set capabilities for the current browser.
setQuirk Set unique behavior for the current browser.
getInstance Returns the global Browser object, only creating it if it doesn't already exist.
_setPlatform Match the platform of the browser.


jimport( 'joomla.environment.browser' );

See also[edit]

Template:SeeAlso:JBrowser [Edit See Also]


<CodeExamplesForm />