Horde_Browser::setFeature PHP Method

setFeature() public method

Sets capabilities for the current browser.
public setFeature ( string $feature, string $value = true )
$feature string The capability to set. Features: - accesskey - ajax - cite - dataurl - dom - frames - hdml - html - homepage - iframes - images - ischrome - iskonqueror - issafari - java - javascript - optgroup - rte - tables - utf - wml - xmlhttpreq
$value string Special capability parameter.
    public function setFeature($feature, $value = true)
    {
        if ($value) {
            $this->_features[$feature] = $value;
        } else {
            unset($this->_features[$feature]);
        }
    }