API16

JBrowser/getQuirk

From Joomla! Documentation

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

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]

Retrieve unique behavior for the current browser.

[<! removed edit link to red link >]

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

Syntax[edit]

getQuirk($quirk)
Parameter Name Default Value Description
$quirk $quirk The behavior to retrieve.

Returns[edit]

string The value for the requested behavior.

Defined in[edit]

libraries/joomla/environment/browser.php

Importing[edit]

jimport( 'joomla.environment.browser' );

Source Body[edit]

public function getQuirk($quirk)
{
        return isset($this->_quirks[$quirk])
                        ? $this->_quirks[$quirk]
                        : null;
}

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

Examples[edit]

<CodeExamplesForm />