Public Member Functions | |
instance ($filename=False) | |
includeOnce ($path, $basedir=false) | |
![]() | |
cacheSet ($humanReadable=False) | |
cache_time ($path) | |
getNewest () | |
![]() | |
setMaxAge ($seconds) | |
cacheControl () | |
Protected Member Functions | |
__construct ($filename=False) | |
![]() | |
__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 |