API15:JBrowser/getFeature
From Joomla! Documentation
Description
Retrieve the current browser capability.
Template:Description:JBrowser/getFeature
Syntax
getFeature($feature)
| Parameter Name | Default Value | Description |
|---|---|---|
| $feature | $feature The capability to retrieve. |
Returns
string The value of the requested capability.
Defined in
libraries/joomla/environment/browser.php
Importing
jimport( 'joomla.environment.browser' );
Source Body
function getFeature($feature) {
return isset($this->_features[$feature])
? $this->_features[$feature]
: null;
}
[Edit See Also] Template:SeeAlso:JBrowser/getFeature
Examples
<CodeExamplesForm />