API15

JBrowser/isBrowser

From Joomla! Documentation

< API15:JBrowser
Revision as of 08:45, 12 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

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]

Determine if the given browser is the same as the current.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax[edit]

isBrowser($browser)
Parameter Name Default Value Description
$browser $browser The browser to check.

Returns[edit]

boolean Is the given browser the same as the current?

Defined in[edit]

libraries/joomla/environment/browser.php

Importing[edit]

jimport( 'joomla.environment.browser' );

Source Body[edit]

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

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples[edit]

<CodeExamplesForm />