JBrowser/setQuirk
From Joomla! Documentation
< API15:JBrowserRevision as of 17:19, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Set unique behavior for the current browser.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<no...)
Revision as of 17:19, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Set unique behavior for the current browser.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<no...)
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]
Set unique behavior for the current browser.
Template:Description:JBrowser/setQuirk
Syntax[edit]
setQuirk($quirk, $value=true)
Parameter Name | Default Value | Description |
---|---|---|
$quirk | $quirk The behavior to set. | |
$value | true | $value Special behavior parameter. |
Defined in[edit]
libraries/joomla/environment/browser.php
Importing[edit]
jimport( 'joomla.environment.browser' );
Source Body[edit]
function setQuirk($quirk, $value = true) {
$this->_quirks[$quirk] = $value;
}
[Edit See Also] Template:SeeAlso:JBrowser/setQuirk
Examples[edit]
<CodeExamplesForm />