MediaWiki REL1_33
|
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 27 of file FileDependency.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 43 of file FileDependency.php.
References $filename, and $timestamp.
FileDependency::__sleep | ( | ) |
FileDependency::isExpired | ( | ) |
FileDependency::loadDependencyValues | ( | ) |
Hook to perform any expensive pre-serialize loading of dependency values.
Reimplemented from CacheDependency.
Definition at line 57 of file FileDependency.php.
References and().
Referenced by __sleep().
|
private |
Definition at line 28 of file FileDependency.php.
Referenced by __construct().
|
private |
Definition at line 29 of file FileDependency.php.
Referenced by __construct().