Exemple #1
0
 public function delete($keyName, $keyValues)
 {
     if (Cache::isCacheEnabled()) {
         return apc_delete(Cache::getKeyName($keyName, $keyValues));
     } else {
         return true;
     }
 }
 public function delete($keyName, $keyValues)
 {
     if (Cache::isCacheEnabled()) {
         $this->_memcache->delete(Cache::getKeyName($keyName, $keyValues), 0);
         return true;
     } else {
         return true;
     }
 }
 function destroy($sessionId)
 {
     $cacheKey = Cache::getKeyName('session', $sessionId);
     $this->_memcache->delete($cacheKey, 0);
     return true;
 }