本文整理汇总了PHP中zend_shm_cache_delete函数的典型用法代码示例。如果您正苦于以下问题:PHP zend_shm_cache_delete函数的具体用法?PHP zend_shm_cache_delete怎么用?PHP zend_shm_cache_delete使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了zend_shm_cache_delete函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: clear
/**
* 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();
}
示例2: _unset
/**
* 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);
}
示例3: deleteValue
/**
* 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);
}
示例4: _clearExternal
/**
* @see SugarCacheAbstract::_clearExternal()
*/
protected function _clearExternal($key)
{
zend_shm_cache_delete($key);
}
示例5: zdcDelete
/**
* 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);
}
示例6: zdcDelete
/**
* 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);
}
示例7: driverDelete
/**
* @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');
}
}
示例8: doDelete
/**
* {@inheritdoc}
*/
protected function doDelete($id)
{
return zend_shm_cache_delete($id);
}
示例9: remove
/**
* {@inheritdoc}
*/
public function remove($key)
{
return zend_shm_cache_delete($key);
}
示例10: _delete
protected function _delete($key)
{
zend_shm_cache_delete($this->key($key));
}
示例11: remove
/**
* 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);
}
示例12: delete
/**
* @param string $name Değer ismi
* @return mixed
*/
public function delete($name)
{
return zend_shm_cache_delete($name);
}
示例13: delete
public function delete($key)
{
$safeKey = $this->makeKey($key);
$ret = @zend_shm_cache_delete($safeKey);
return $ret;
}
示例14: delete
public function delete($key)
{
zend_shm_cache_delete("MongoObject::{$key}");
}
示例15: __unset
function __unset($key)
{
parent::__unset($key);
zend_shm_cache_delete($this->_realKey($key));
}