| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Cache |
JCache |
cleanCache |
cleanCache() |
Never | Work in Progress |
Cleans the cache.
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’. |
Example
global $mainframe; $cache =& JFactory::getCache(); $cache->cleanCache();