MediaWiki  REL1_22
TitleListDependency Class Reference
Inheritance diagram for TitleListDependency:
Collaboration diagram for TitleListDependency:

List of all members.

Public Member Functions

 __construct (LinkBatch $linkBatch)
 Construct a dependency on a list of titles.
 __sleep ()
 calculateTimestamps ()
 getLinkBatch ()
 isExpired ()
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values.

Public Attributes

 $linkBatch
 $timestamps

Detailed Description

Definition at line 289 of file CacheDependency.php.


Constructor & Destructor Documentation

Construct a dependency on a list of titles.

Parameters:
$linkBatchLinkBatch

Definition at line 297 of file CacheDependency.php.

References $linkBatch.


Member Function Documentation

Returns:
array

Definition at line 344 of file CacheDependency.php.

References array().

Returns:
array

Definition at line 304 of file CacheDependency.php.

References $dbr, $res, $timestamps, $value, array(), as, data, getLinkBatch(), and wfGetDB().

Referenced by isExpired(), and loadDependencyValues().

Returns:
LinkBatch

Definition at line 351 of file CacheDependency.php.

References LinkBatch\setArray().

Referenced by calculateTimestamps().

Returns:
bool

Reimplemented from CacheDependency.

Definition at line 362 of file CacheDependency.php.

References as, and calculateTimestamps().

Hook to perform any expensive pre-serialize loading of dependency values.

Reimplemented from CacheDependency.

Definition at line 337 of file CacheDependency.php.

References calculateTimestamps().


Member Data Documentation

TitleListDependency::$linkBatch

Definition at line 290 of file CacheDependency.php.

Referenced by __construct().

TitleListDependency::$timestamps

Definition at line 291 of file CacheDependency.php.

Referenced by calculateTimestamps().


The documentation for this class was generated from the following file: