MediaWiki
REL1_22
|
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. | |
Public Attributes | |
$filename | |
$timestamp |
Definition at line 150 of file CacheDependency.php.
FileDependency::__construct | ( | $ | filename, |
$ | timestamp = null |
||
) |
Create a file dependency.
string | $filename | the name of the file, preferably fully qualified |
$timestamp | Mixed: 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 165 of file CacheDependency.php.
References $filename, and $timestamp.
Definition at line 173 of file CacheDependency.php.
References array(), and loadDependencyValues().
Reimplemented from CacheDependency.
Definition at line 193 of file CacheDependency.php.
References wfDebug().
Hook to perform any expensive pre-serialize loading of dependency values.
Reimplemented from CacheDependency.
Definition at line 178 of file CacheDependency.php.
Referenced by __sleep().
FileDependency::$filename |
Definition at line 151 of file CacheDependency.php.
Referenced by __construct().
FileDependency::$timestamp |
Definition at line 151 of file CacheDependency.php.
Referenced by __construct().