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


PHP zend_disk_cache_delete函数代码示例

本文整理汇总了PHP中zend_disk_cache_delete函数的典型用法代码示例。如果您正苦于以下问题:PHP zend_disk_cache_delete函数的具体用法?PHP zend_disk_cache_delete怎么用?PHP zend_disk_cache_delete使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了zend_disk_cache_delete函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: clear

 /**
  * Clear datas with $uid key
  * @param mixed $uid
  * @return void
  */
 public function clear($uid = null)
 {
     if ($uid) {
         return zend_disk_cache_delete($uid);
     }
     return zend_disk_cache_clear();
 }
开发者ID:cityware,项目名称:city-shared-memory,代码行数:12,代码来源:ZendDiskCache.php

示例2: zdcDelete

 /**
  * Delete data from Zend Data Disk Cache
  *
  * @param  string $internalKey
  * @return bool
  * @throws Exception\RuntimeException
  */
 protected function zdcDelete($internalKey)
 {
     return zend_disk_cache_delete($internalKey);
 }
开发者ID:idwsdta,项目名称:INIT-frame,代码行数:11,代码来源:ZendServerDisk.php

示例3: _unset

 /**
  * Unset data
  *
  * @param string $id          Cache id
  * @return boolean true if no problem
  */
 protected function _unset($id)
 {
     return zend_disk_cache_delete($this->_options['namespace'] . '::' . $id);
 }
开发者ID:rexmac,项目名称:zf2,代码行数:10,代码来源:Disk.php

示例4: delete

 /**
  * Delete from the cache
  *
  * Delete a variable from the cache so it is no longer usuable and
  * retrievable by $this->get($name)
  *
  * @param  string $name  The name of the cache variable to delete.
  * 
  * @return boolean       Depending on the success of the operation, 
  *                       either true or false. 
  */
 public function delete($name)
 {
     return zend_disk_cache_delete($name);
 }
开发者ID:crlang44,项目名称:frapi,代码行数:15,代码来源:Zendshm.php

示例5: delete

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

示例6: 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_disk_cache_delete($item->getKey());
     } else {
         throw new \InvalidArgumentException('Cross-Driver type confusion detected');
     }
 }
开发者ID:jigoshop,项目名称:Jigoshop2,代码行数:16,代码来源:Driver.php

示例7: remove

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

示例8: zdcDelete

 /**
  * Delete data from Zend Data Disk Cache
  *
  * @param  string $internalKey
  * @return boolean
  * @throws Exception\RuntimeException
  */
 protected function zdcDelete($key)
 {
     return zend_disk_cache_delete($key);
 }
开发者ID:rafalwrzeszcz,项目名称:zf2,代码行数:11,代码来源:ZendServerDisk.php

示例9: _delete

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


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