====== cleanCache ====== {#JAPI Joomla.Framework Cache JCache::cleanCache #} Cleans the cache. ===== Syntax ===== void cleanCache ( **$group**, **$mode** ) | **$group** | mixed | is a string containing the cache group. This parameter is optional and if omitted defaults to false. | | **$mode** | mixed | is a string containing the mode to use. This paramter is optional and if omitted defaults to 'ingroup'. | ===== Examples ===== global $mainframe; $cache =& JFactory::getCache(); $cache->cleanCache(); ~~DISCUSSION~~