administrator/components/com_categories/models/category.php
protected function cleanCache($group = null, $client_id = 0)
	{
		$extension = JFactory::getApplication()->input->get('extension');

		switch ($extension)
		{
			case 'com_content':
				parent::cleanCache('com_content');
				parent::cleanCache('mod_articles_archive');
				parent::cleanCache('mod_articles_categories');
				parent::cleanCache('mod_articles_category');
				parent::cleanCache('mod_articles_latest');
				parent::cleanCache('mod_articles_news');
				parent::cleanCache('mod_articles_popular');
				break;
			default:
				parent::cleanCache($extension);
				break;
		}
	}
protected function cleanCache($group = null, $client_id = 0)
	{
		$extension = JFactory::getApplication()->input->get('extension');

		switch ($extension)
		{
			case 'com_content':
				parent::cleanCache('com_content');
				parent::cleanCache('mod_articles_archive');
				parent::cleanCache('mod_articles_categories');
				parent::cleanCache('mod_articles_category');
				parent::cleanCache('mod_articles_latest');
				parent::cleanCache('mod_articles_news');
				parent::cleanCache('mod_articles_popular');
				break;
			default:
				parent::cleanCache($extension);
				break;
		}
	}
protected function cleanCache ( $ group = null , $ client_id = 0 ) { $ extension = JFactory :: getApplication ( ) -> input -> get ( 'extension' ) ; switch ( $ extension ) { case 'com_content' : parent :: cleanCache ( 'com_content' ) ; parent :: cleanCache ( 'mod_articles_archive' ) ; parent :: cleanCache ( 'mod_articles_categories' ) ; parent :: cleanCache ( 'mod_articles_category' ) ; parent :: cleanCache ( 'mod_articles_latest' ) ; parent :: cleanCache ( 'mod_articles_news' ) ; parent :: cleanCache ( 'mod_articles_popular' ) ; break ; default : parent :: cleanCache ( $ extension ) ; break ; } }
Custom clean the cache of com_content and content modules

@param   string   $group      Cache group name.
@param   integer  $client_id  Application client id.

@return  void

@since   1.6
Custom clean the cache of com_content and content modules