API17

JBrowser::getInstance

From Joomla! Documentation

Revision as of 19:56, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

Joomla 11.1 JBrowser::getInstance[edit]

Description[edit]

Returns the global Browser object, only creating it if it doesn't already exist.

Template:Description:JBrowser::getInstance [Edit Descripton]

Synopsis[edit]

public static JBrowser::getInstance ($userAgent=null, $accept=null)
Parameter Type Default Description
$userAgent string null The browser string to parse.
$accept string null The HTTP_ACCEPT settings to use.

Returns[edit]

The Browser object.

Defined in[edit]

libraries/joomla/environment/browser.php (line 200)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JBrowser::getInstance

Examples[edit]

<CodeExamplesForm />