Horde_Kolab_Storage_List_Cache::hasSupport PHP Method

hasSupport() public method

Has the list support for the requested capability?
public hasSupport ( string $capability ) : boolean
$capability string The name of the requested capability.
return boolean True if the backend supports the requested capability.
    public function hasSupport($capability)
    {
        if ($this->issetSupport($capability)) {
            return $this->_data[self::SUPPORT][$capability];
        } else {
            throw new Horde_Kolab_Storage_Exception('Missing support data. Synchronize first!');
        }
    }