CoreFiles by mySites.guru
cache.php42 lines, 1,091 bytes, from Joomla_1.5.4-Stable-Full_Package.zip
Raw History Compare with 1.5.3
md5
96580c30410a132c47995892312daa76
sha1
59313e5d4e2efc32e7d896163d00c535e67e2a44
sha256
449c8663165f44dbb9102c1f68d5f7079ba822f9e44a08c424211fb443d38c4a
<?php
/**
* @version		$Id: cache.php 10381 2008-06-01 03:35:53Z pasamio $
* @package		Joomla.Legacy
* @subpackage	1.5
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();

 /**
 * Legacy class, use &{@link JFactory::getCache()} instead
 *
 * @deprecated	As of version 1.5
 * @package	Joomla.Legacy
 * @subpackage	1.5
 */
class mosCache
{
	/**
	* @return object A function cache object
	*/
	function &getCache(  $group=''  )
	{
		return JFactory::getCache($group);
	}
	/**
	* Cleans the cache
	*/
	function cleanCache( $group=false )
	{
		$cache =& JFactory::getCache($group);
		$cache->clean($group);
	}
}

The same content is in 12 releases, Joomla 1.5.4 to 1.5.15. See them all, or every version of this file.