modCacheManagerThe default xPDOCacheManager instance for MODx.
Through this class, MODx provides several types of default, file-based caching to reduce load and dependencies on the database, including:
Located in /model/modx/modcachemanager.class.php (line 24)
xPDOCacheManager | --modCacheManager
array
generateLexiconTopic
(string $cacheKey, [array $entries = array()], [array $options = array()])
boolean|string
generateScript
(modScript &$objElement, [string $objContent = null], [ $options = array()], modScript $objElement)
mixed
$modx
= null (line 25)
Inherited from xPDOCacheManager
xPDOCacheManager::$caches
xPDOCacheManager::$options
xPDOCacheManager::$xpdo
xPDOCacheManager::$_umask
Constructor __construct (line 27)
clearCache (line 427)
Clear part or all of the MODx cache.
generateActionMap (line 334)
Generates a cache file for the manager actions.
generateConfig (line 215)
Generates the system settings cache for a MODx site.
generateContext (line 47)
Generates a cache entry for a MODx site Context.
Context cache entries can override site configuration settings and are responsible for loading the various lisitings and maps in the modX class, including documentListing, documentMap, and eventMap. It can also be used to setup or transform any other modX properties.
generateLexiconTopic (line 315)
Generates a lexicon topic cache file from a collection of entries
generateResource (line 259)
Generates a cache entry for a Resource or Resource-derived object.
Resource classes can define their own cacheKey.
generateScript (line 388)
Generates a file representing an executable modScript function.
Inherited From xPDOCacheManager
xPDOCacheManager::__construct()
xPDOCacheManager::add()
xPDOCacheManager::clean()
xPDOCacheManager::copyFile()
xPDOCacheManager::copyTree()
xPDOCacheManager::delete()
xPDOCacheManager::deleteTree()
xPDOCacheManager::endsWith()
xPDOCacheManager::escapeSingleQuotes()
xPDOCacheManager::generateObject()
xPDOCacheManager::get()
xPDOCacheManager::getCachePath()
xPDOCacheManager::getCacheProvider()
xPDOCacheManager::getFilePermissions()
xPDOCacheManager::getFolderPermissions()
xPDOCacheManager::getOption()
xPDOCacheManager::matches()
xPDOCacheManager::replace()
xPDOCacheManager::set()
xPDOCacheManager::writeFile()
xPDOCacheManager::writeTree()
Inherited from xPDOCacheManager
xPDOCacheManager::CACHE_DIR
xPDOCacheManager::CACHE_JSON
xPDOCacheManager::CACHE_PHP
xPDOCacheManager::LOG_DIR
Documentation generated on Fri, 17 Jun 2011 10:03:28 -0600 by phpDocumentor 1.4.3