CacheEngine::clearValues PHP Method

clearValues() abstract public method

Deletes the values stored in the cache.
abstract public clearValues ( ) : void
return void
    public abstract function clearValues();

Usage Example

Example #1
0
 /**
  * Clears the cache.
  *
  * @param string
  *    $p_type If given is 'user', the user cache will be cleard,
  *            otherwise the system cache (cached files) will be.
  *
  * @return boolean
  *                 TRUE on success, FALSE on failure
  */
 public function clear($p_type = null)
 {
     if (!self::$m_enabled) {
         return false;
     }
     if ($p_type == 'user') {
         return $this->m_cacheEngine->clearValues();
     } else {
         return $this->m_cacheEngine->clearPages();
     }
 }
All Usage Examples Of CacheEngine::clearValues