_options['namespace'] . '::' . $id, $data, $timeToLive) === false) { $this->_log('Store operation failed.'); return false; } return true; } /** * Fetch data * * @param string $id Cache id * @return mixed|null */ protected function _fetch($id) { return zend_shm_cache_fetch($this->_options['namespace'] . '::' . $id); } /** * Unset data * * @param string $id Cache id * @return boolean true if no problem */ protected function _unset($id) { return zend_shm_cache_delete($this->_options['namespace'] . '::' . $id); } /** * Clear cache */ protected function _clear() { zend_shm_cache_clear($this->_options['namespace']); } }