API15

JBrowser/setBrowser

From Joomla! Documentation

< API15:JBrowser
Revision as of 17:19, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Sets the current browser. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 "API15" 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.

Description[edit]

Sets the current browser.

[Edit Descripton]

Template:Description:JBrowser/setBrowser

Syntax[edit]

setBrowser($browser)
Parameter Name Default Value Description
$browser $browser The browser to set as current.

Defined in[edit]

libraries/joomla/environment/browser.php

Importing[edit]

jimport( 'joomla.environment.browser' );

Source Body[edit]

function setBrowser($browser) {
    $this->_browser = $browser;
}

[Edit See Also] Template:SeeAlso:JBrowser/setBrowser

Examples[edit]

<CodeExamplesForm />