API15

JBrowser/getQuirk

< 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

Retrieve unique behavior for the current browser.


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

Syntax

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

Returns

string The value for the requested behavior.

Defined in

libraries/joomla/environment/browser.php

Importing

jimport( 'joomla.environment.browser' );

Source Body

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


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

Examples

Code Examples


Advertisement