Simple Web Presenter
An extremely basic CMS
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
CacheTimeCheck Class Reference
Inheritance diagram for CacheTimeCheck:
FileCacheSet Cache

Public Member Functions

 __construct ($filename=False)
 
 addParent ($cache)
 
 loadFile ($path)
 
- Public Member Functions inherited from FileCacheSet
 cacheSet ($humanReadable=False)
 
 cache_time ($path)
 
 getNewest ()
 
- Public Member Functions inherited from Cache
 setMaxAge ($seconds)
 
 cacheControl ()
 

Additional Inherited Members

- Protected Member Functions inherited from FileCacheSet
 __construct ($parent=null)
 
 addParent ($parent)
 

Detailed Description

CacheTimeCheck provides a set of functions to enable generating a correct time for the latest update for a given file.

Author
Tom Fredrik Blenning Klaussen

Member Function Documentation

CacheTimeCheck::loadFile (   $path)

Convenience function to load a file, and add it to the cacheset

Parameters
$pathpath of the file
Returns
the contents of the file

The documentation for this class was generated from the following file: