/** * Session destroy handler. * Do not call this method directly. * @param string $id session ID * @return boolean whether session is destroyed successfully */ public function destroySession($id) { return (bool) $this->ssdb->del($this->calculateKey($id)); }
/** * Deletes a value with the specified key from cache * This is the implementation of the method declared in the parent class. * @param string $key the key of the value to be deleted * @return boolean if no error happens during deletion */ public function deleteValue($key) { $this->ssdb->hdel($this->cache_keys_hash, $key); return $this->ssdb->del($key); }
/** * @see InterfaceCache */ public function remove($sKey) { return $this->_oSsdb->del($sKey); }