modX.getCacheManager

Skip to end of metadata
Go to start of metadata


modX::getCacheManager

Get an extended xPDOCacheManager instance responsible for MODx caching.

Overrides xPDO::getCacheManager.

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#getCacheManager

object getCacheManager()

Example

Get the Cache Manager to set a dummy cache file.

$cacheManager = $modx->getCacheManager();
$cacheManager->set('testcachefile','test123');

See Also

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.