Table of Contents

getCache

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Cache Class JCache Method getCache Reference getCache() Never Work in Progress

This method is deprecated, use JFactory::getCache instead. This method calls the JFactory::getCache method.

Syntax

void &getCache ( $group )

$group mixed is a string containing the default group to use. This parameter is optional and if omitted defaults to an empty string.

Examples

Example

jimport( 'joomla.cache.cache' );

$cache =& JCache::getCache();