API16:JBrowser/hasQuirk
From Joomla! Documentation
Description
Check unique behavior for the current browser.
<! removed transcluded page call, red link never existed >
Syntax
hasQuirk($quirk)
Parameter Name | Default Value | Description |
---|---|---|
$quirk | $quirk The behavior to check. |
Returns
boolean Does the browser have the behavior set?
Defined in
libraries/joomla/environment/browser.php
Importing
jimport( 'joomla.environment.browser' );
Source Body
public function hasQuirk($quirk)
{
return !empty($this->_quirks[$quirk]);
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples