Table of Contents

setCacheValidation

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

Enable/disable cache validation.

Syntax

void setCacheValidation ( $validateCache )

$validateCache boolean is a flag which if true enables cache validation.

Examples

Enable cache validation:

Example

$cache = JFactory::getCache();
$cache->setCacheValidation( true );