english/libraries/joomla/cache/cache.php
/**
	 * Clean cache for a group given a mode.
	 *
	 * group mode       : cleans all cache in the group
	 * notgroup mode    : cleans all cache not in the group
	 *
	 * @param   string   $group   The cache data group
	 * @param   string   $mode    The mode for cleaning cache [group|notgroup]
	 *
	 * @return  boolean  True on success, false otherwise
	 * @since   11.1
	 */
Clean cache for a group given a mode.
group mode       : cleans all cache in the group
notgroup mode    : cleans all cache not in the group

@param   string   $group   The cache data group
@param   string   $mode    The mode for cleaning cache [group|notgroup]

@return  boolean  True on success, false otherwise
@since   11.1
Clean cache for a group given a mode . group mode : cleans all cache in the group notgroup mode : cleans all cache not in the group @param string $group The cache data group @param string $mode The mode for cleaning cache [ group|notgroup ] @return boolean True on success false otherwise @since 11 . 1
public function clean($group=null, $mode='group')
	{
		$group = ($group) ? $group : $this->_options['defaultgroup'];
		$handler = $this->_getStorage();
		if (!JError::isError($handler)) {
			return $handler->clean($group, $mode);
		}
		return false;
	}
public function clean ( $ group = null , $ mode = 'group' ) { $ group = ( $ group ) ? $ group : $ this -> _options [ 'defaultgroup' ] ; $ handler = $ this -> _getStorage ( ) ; if ( ! JError :: isError ( $ handler ) ) { return $ handler -> clean ( $ group , $ mode ) ; } return false ; }
Clean cache for a group given a mode.
Clean cache for a group given a mode .
// Get the default group // Get the storage handler