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