Public Member Functions | |
__construct (LinkBatch $linkBatch) | |
Construct a dependency on a list of titles. | |
calculateTimestamps () | |
loadDependencyValues () | |
Hook to perform any expensive pre-serialize loading of dependency values. | |
__sleep () | |
getLinkBatch () | |
isExpired () | |
Returns true if the dependency is expired, false otherwise. | |
Public Attributes | |
$linkBatch | |
$timestamps |
Definition at line 235 of file CacheDependency.php.
TitleListDependency::__construct | ( | LinkBatch $ | linkBatch | ) |
TitleListDependency::__sleep | ( | ) |
Definition at line 276 of file CacheDependency.php.
TitleListDependency::calculateTimestamps | ( | ) |
Definition at line 246 of file CacheDependency.php.
References $dbr, $ns, $res, $row, $timestamps, getLinkBatch(), and wfGetDB().
Referenced by isExpired(), and loadDependencyValues().
TitleListDependency::getLinkBatch | ( | ) |
TitleListDependency::isExpired | ( | ) |
Returns true if the dependency is expired, false otherwise.
Reimplemented from CacheDependency.
Definition at line 288 of file CacheDependency.php.
References $ns, and calculateTimestamps().
TitleListDependency::loadDependencyValues | ( | ) |
Hook to perform any expensive pre-serialize loading of dependency values.
Reimplemented from CacheDependency.
Definition at line 272 of file CacheDependency.php.
References calculateTimestamps().
TitleListDependency::$linkBatch |
Definition at line 236 of file CacheDependency.php.
TitleListDependency::$timestamps |