API15:JBrowser/isBrowser/ja

出典: Joomla! ドキュメンテーション

目次

Description

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

[Edit Descripton]



Syntax

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

Returns

boolean Is the given browser the same as the current?

Defined in

libraries/joomla/environment/browser.php

Importing

jimport( 'joomla.environment.browser' );

Source Body

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

[Edit See Also]



Examples

<CodeExamplesForm />