当前位置: 首页>>代码示例>>PHP>>正文


PHP zend_shm_cache_delete函数代码示例

本文整理汇总了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();
 }
开发者ID:cityware,项目名称:city-shared-memory,代码行数:12,代码来源:ZendShmCache.php

示例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);
 }
开发者ID:Gradven,项目名称:what3.1.7,代码行数:10,代码来源:ShMem.php

示例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);
 }
开发者ID:IuriiP,项目名称:yii-tracker,代码行数:10,代码来源:CZendDataCache.php

示例4: _clearExternal

 /**
  * @see SugarCacheAbstract::_clearExternal()
  */
 protected function _clearExternal($key)
 {
     zend_shm_cache_delete($key);
 }
开发者ID:omusico,项目名称:sugar_work,代码行数:7,代码来源:SugarCacheZend.php

示例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);
 }
开发者ID:Baft,项目名称:Zend-Form,代码行数:11,代码来源:ZendServerShm.php

示例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);
 }
开发者ID:rafalwrzeszcz,项目名称:zf2,代码行数:11,代码来源:ZendServerShm.php

示例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');
     }
 }
开发者ID:jigoshop,项目名称:Jigoshop2,代码行数:16,代码来源:Driver.php

示例8: doDelete

 /**
  * {@inheritdoc}
  */
 protected function doDelete($id)
 {
     return zend_shm_cache_delete($id);
 }
开发者ID:BusinessCookies,项目名称:CoffeeMachineProject,代码行数:7,代码来源:ZendDataCache.php

示例9: remove

 /**
  * {@inheritdoc}
  */
 public function remove($key)
 {
     return zend_shm_cache_delete($key);
 }
开发者ID:muhammetardayildiz,项目名称:framework,代码行数:7,代码来源:ZendMemory.php

示例10: _delete

 protected function _delete($key)
 {
     zend_shm_cache_delete($this->key($key));
 }
开发者ID:liulingfu,项目名称:madserve,代码行数:4,代码来源:ZendSHM.php

示例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);
 }
开发者ID:nstapelbroek,项目名称:Glitch_Lib,代码行数:10,代码来源:ZendShMem.php

示例12: delete

 /**
  * @param string $name Değer ismi
  * @return mixed
  */
 public function delete($name)
 {
     return zend_shm_cache_delete($name);
 }
开发者ID:AnonymPHP,项目名称:Anonym-Cache,代码行数:8,代码来源:ZendDataCache.php

示例13: delete

 public function delete($key)
 {
     $safeKey = $this->makeKey($key);
     $ret = @zend_shm_cache_delete($safeKey);
     return $ret;
 }
开发者ID:chrismcmacken,项目名称:phptools,代码行数:6,代码来源:Shm.php

示例14: delete

 public function delete($key)
 {
     zend_shm_cache_delete("MongoObject::{$key}");
 }
开发者ID:dintel,项目名称:mongo-object,代码行数:4,代码来源:ZendDataCacheShm.php

示例15: __unset

 function __unset($key)
 {
     parent::__unset($key);
     zend_shm_cache_delete($this->_realKey($key));
 }
开发者ID:aldridged,项目名称:gtg-sugar,代码行数:5,代码来源:SugarCache_ZendServer.php


注:本文中的zend_shm_cache_delete函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。