MediaWiki
REL1_24
|
Public Member Functions | |
__construct ($filename, $timestamp=null) | |
Create a file dependency. | |
__sleep () | |
isExpired () | |
loadDependencyValues () | |
Hook to perform any expensive pre-serialize loading of dependency values. | |
Private Attributes | |
$filename | |
$timestamp |
Definition at line 151 of file CacheDependency.php.
FileDependency::__construct | ( | $ | filename, |
$ | timestamp = null |
||
) |
Create a file dependency.
string | $filename | The name of the file, preferably fully qualified |
null | bool | int | $timestamp | The unix last modified timestamp, or false if the file does not exist. If omitted, the timestamp will be loaded from the file. |
A dependency on a nonexistent file will be triggered when the file is created. A dependency on an existing file will be triggered when the file is changed.
Definition at line 167 of file CacheDependency.php.
Definition at line 175 of file CacheDependency.php.
Reimplemented from CacheDependency.
Definition at line 196 of file CacheDependency.php.
Hook to perform any expensive pre-serialize loading of dependency values.
Reimplemented from CacheDependency.
Definition at line 181 of file CacheDependency.php.
FileDependency::$filename [private] |
Definition at line 152 of file CacheDependency.php.
FileDependency::$timestamp [private] |
Definition at line 153 of file CacheDependency.php.