MediaWiki  REL1_19
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 268 of file CacheDependency.php.


Constructor & Destructor Documentation

Construct a dependency on a list of titles.

Parameters:
$linkBatchLinkBatch

Definition at line 276 of file CacheDependency.php.

References $linkBatch.


Member Function Documentation

Returns:
array

Definition at line 323 of file CacheDependency.php.

Returns:
array

Definition at line 283 of file CacheDependency.php.

References $dbr, $res, $timestamps, getLinkBatch(), and wfGetDB().

Referenced by isExpired(), and loadDependencyValues().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
LinkBatch

Definition at line 330 of file CacheDependency.php.

References LinkBatch\setArray().

Referenced by calculateTimestamps().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
bool

Reimplemented from CacheDependency.

Definition at line 341 of file CacheDependency.php.

References calculateTimestamps().

Here is the call graph for this function:

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

Reimplemented from CacheDependency.

Definition at line 316 of file CacheDependency.php.

References calculateTimestamps().

Here is the call graph for this function:


Member Data Documentation

TitleListDependency::$linkBatch

Definition at line 269 of file CacheDependency.php.

Referenced by __construct().

TitleListDependency::$timestamps

Definition at line 270 of file CacheDependency.php.

Referenced by calculateTimestamps().


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