API15:JBrowser/getFeature/ja

出典: Joomla! ドキュメンテーション

目次

Description

Retrieve the current browser capability.

[Edit Descripton]



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]



Examples

<CodeExamplesForm />