[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Data storage in the file system. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 283 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
__construct() X-Ref |
No description |
baseCacheDirectory() X-Ref |
Get the base file cache directory return: string |
cachePath() X-Ref |
Get the path to the cache file return: string |
isCached() X-Ref |
Check if the cache file exists return: bool |
cacheTimestamp() X-Ref |
Get the last-modified timestamp of the cache file return: string|bool TS_MW timestamp |
isCacheGood( $timestamp = '' ) X-Ref |
Check if up to date cache file exists param: string $timestamp MW_TS timestamp return: bool |
useGzip() X-Ref |
Check if the cache is gzipped return: bool |
fetchText() X-Ref |
Get the uncompressed text from the cache return: string |
saveText( $text ) X-Ref |
Save and compress text to the cache param: string $text return: string Compressed text |
clearCache() X-Ref |
Clear the cache for this page return: void |
checkCacheDirs() X-Ref |
Create parent directors of $this->cachePath() return: void |
typeSubdirectory() X-Ref |
Get the cache type subdirectory (with trailing slash) An extending class could use that method to alter the type -> directory mapping. @see HTMLFileCache::typeSubdirectory() for an example. return: string |
hashSubdirectory() X-Ref |
Return relative multi-level hash subdirectory (with trailing slash) or the empty string if not $wgFileCacheDepth return: string |
incrMissesRecent( WebRequest $request ) X-Ref |
Roughly increments the cache misses in the last hour by unique visitors param: WebRequest $request return: void |
getMissesRecent() X-Ref |
Roughly gets the cache misses in the last hour by unique visitors return: int |
cacheMissKey() X-Ref |
return: string |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |