當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。