API15

JBrowser/getQuirk

From Joomla! Documentation

< API15:JBrowser

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]

Retrieve unique behavior for the current browser.


<! 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]

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


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

Examples[edit]

Code Examples[edit]