/** * Clear datas with $uid key * @param mixed $uid * @return void */ public function clear($uid = null) { if ($uid) { return zend_shm_cache_delete($uid); } return zend_shm_cache_clear(); }
/** * 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); }
/** * 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 */ protected function deleteValue($key) { return zend_shm_cache_delete($key); }
/** * @see SugarCacheAbstract::_clearExternal() */ protected function _clearExternal($key) { zend_shm_cache_delete($key); }
/** * Delete data from Zend Data SHM Cache * * @param string $internalKey * @return boolean * @throws Exception\RuntimeException */ protected function zdcDelete($internalKey) { return zend_shm_cache_delete($internalKey); }
/** * Delete data from Zend Data SHM Cache * * @param string $internalKey * @return boolean * @throws Exception\RuntimeException */ protected function zdcDelete($key) { return zend_shm_cache_delete($key); }
/** * @param \Psr\Cache\CacheItemInterface $item * @return bool * @throws \InvalidArgumentException */ protected function driverDelete(CacheItemInterface $item) { /** * Check for Cross-Driver type confusion */ if ($item instanceof Item) { return zend_shm_cache_delete($item->getKey()); } else { throw new \InvalidArgumentException('Cross-Driver type confusion detected'); } }
/** * {@inheritdoc} */ protected function doDelete($id) { return zend_shm_cache_delete($id); }
/** * {@inheritdoc} */ public function remove($key) { return zend_shm_cache_delete($key); }
protected function _delete($key) { zend_shm_cache_delete($this->key($key)); }
/** * Remove a cache record * * @param string $id cache id * @return boolean true if no problem */ public function remove($id) { return zend_shm_cache_delete($this->_options['namespace'] . '::' . $id); }
/** * @param string $name Değer ismi * @return mixed */ public function delete($name) { return zend_shm_cache_delete($name); }
public function delete($key) { $safeKey = $this->makeKey($key); $ret = @zend_shm_cache_delete($safeKey); return $ret; }
public function delete($key) { zend_shm_cache_delete("MongoObject::{$key}"); }
function __unset($key) { parent::__unset($key); zend_shm_cache_delete($this->_realKey($key)); }