Since: 1.2.0
Author: Michael Slusarz (slusarz@horde.org)
Inheritance: extends Horde_HashTable_Base
Exemplo n.º 1
0
Arquivo: Temp.php Projeto: horde/horde
 /**
  */
 public function exists()
 {
     return $this->_ht->exists($this->_id);
 }
Exemplo n.º 2
0
 /**
  * @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;
 }