API16

JBrowser/setBrowser

From Joomla! Documentation

< API16:JBrowser
Revision as of 17:46, 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 "API16" 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]

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

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

Examples[edit]

<CodeExamplesForm />