Public Member Functions | |
| __construct ($filename, $timestamp=null) | |
| Create a file dependency. | |
| loadDependencyValues () | |
| Hook to perform any expensive pre-serialize loading of dependency values. | |
| isExpired () | |
| Returns true if the dependency is expired, false otherwise. | |
Public Attributes | |
| $filename | |
| $timestamp | |
Definition at line 117 of file CacheDependency.php.
| FileDependency::__construct | ( | $ | filename, | |
| $ | timestamp = null | |||
| ) |
Create a file dependency.
| string | $filename The name of the file, preferably fully qualified | |
| mixed | $timestamp The unix last modified timestamp, or false if the file does not exist. If omitted, the timestamp will be loaded from the file. |
Definition at line 132 of file CacheDependency.php.
References $filename, and $timestamp.
| FileDependency::isExpired | ( | ) |
Returns true if the dependency is expired, false otherwise.
Reimplemented from CacheDependency.
Definition at line 149 of file CacheDependency.php.
References wfDebug().
| FileDependency::loadDependencyValues | ( | ) |
Hook to perform any expensive pre-serialize loading of dependency values.
Reimplemented from CacheDependency.
Definition at line 137 of file CacheDependency.php.
| FileDependency::$filename |
| FileDependency::$timestamp |
1.5.9