/** */ public function exists() { return $this->_ht->exists($this->_id); }
/** * @param array $opts Additional option honored in this driver: * - filename: (boolean) If true, $val is a filename containing the * data to be saved rather than the data itself. */ protected function _set($key, $val, $opts) { if (empty($opts['filename'])) { return parent::_set($key, $val, $opts); } try { $this->_vfs->write($this->_params['vfspath'], $key, $val, true); } catch (Horde_Vfs_Exception $e) { return false; } return true; }