/**
* 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();
}
}