![]() |
TYPO3
7.6
|
Public Member Functions | |
injectCacheManager (\TYPO3\CMS\Core\Cache\CacheManager $cacheManager) | |
__construct () | |
getPageIdStack () | |
clearPageCache ($pageIdsToClear=null) | |
clearCachesOfRegisteredPageIds () | |
Protected Attributes | |
$pageIdStack | |
$cacheManager | |
Cache clearing helper functions
Definition at line 20 of file CacheService.php.
__construct | ( | ) |
Initializes the pageIdStack
Definition at line 43 of file CacheService.php.
clearCachesOfRegisteredPageIds | ( | ) |
Walks through the pageIdStack, collects all pageIds as array and passes them on to clearPageCache.
Definition at line 82 of file CacheService.php.
References CacheService\clearPageCache().
clearPageCache | ( | $pageIdsToClear = null | ) |
Clears the page cache
mixed | $pageIdsToClear | (int) single or (array) multiple pageIds to clear the cache for |
Definition at line 62 of file CacheService.php.
Referenced by CacheService\clearCachesOfRegisteredPageIds().
getPageIdStack | ( | ) |
injectCacheManager | ( | \TYPO3\CMS\Core\Cache\CacheManager | $cacheManager | ) |
\TYPO3\CMS\Core\Cache\CacheManager | $cacheManager |
Definition at line 35 of file CacheService.php.
References CacheService\$cacheManager.
|
protected |
Definition at line 30 of file CacheService.php.
Referenced by CacheService\injectCacheManager().
|
protected |
Definition at line 25 of file CacheService.php.
Referenced by CacheService\getPageIdStack().