Public Member Functions | |
| instance ($filename=False) | |
| includeOnce ($path, $basedir=false) | |
Public Member Functions inherited from FileCacheSet | |
| cacheSet ($humanReadable=False) | |
| cache_time ($path) | |
| getNewest () | |
Public Member Functions inherited from Cache | |
| setMaxAge ($seconds) | |
| cacheControl () | |
Protected Member Functions | |
| __construct ($filename=False) | |
Protected Member Functions inherited from FileCacheSet | |
| __construct ($parent=null) | |
| addParent ($parent) | |
Singleton class, keeps track of all scriptfile includes
This class is typically used as a parent class of another cache
| ScriptIncludeCache::includeOnce | ( | $path, | |
$basedir = false |
|||
| ) |
Convenience function to include a file, and add it to the cacheset.
| $path | path of the file |
| $basedir | a directory to prepend to the path |
| ScriptIncludeCache::instance | ( | $filename = False | ) |
Generates a singleton instance of this CacheTimeCheck
| $filename | an optional file to include in the cacheset |
1.8.6