Zend_Http_UserAgent_AbstractDevice::setFeature PHP Method

setFeature() public method

Set a feature for the current browser/device.
public setFeature ( string $feature, string $value = false, string $group = '' ) : Zend_Http_UserAgent_AbstractDevice
$feature string The feature to set.
$value string (option) feature value.
$group string (option) Group to associate with the feature
return Zend_Http_UserAgent_AbstractDevice
    public function setFeature($feature, $value = false, $group = '')
    {
        $this->_aFeatures[$feature] = $value;
        if (!empty($group)) {
            $this->setGroup($group, $feature);
        }
        return $this;
    }