TitleListDependency Class Reference
[Cache]

Inherits CacheDependency.

List of all members.

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


Detailed Description

Definition at line 235 of file CacheDependency.php.


Constructor & Destructor Documentation

TitleListDependency::__construct ( LinkBatch linkBatch  ) 

Construct a dependency on a list of titles.

Definition at line 242 of file CacheDependency.php.


Member Function Documentation

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 (  ) 

Definition at line 280 of file CacheDependency.php.

Referenced by calculateTimestamps().

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().


Member Data Documentation

TitleListDependency::$linkBatch

Definition at line 236 of file CacheDependency.php.

TitleListDependency::$timestamps

Definition at line 237 of file CacheDependency.php.

Referenced by calculateTimestamps().


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

Generated on Sat Sep 5 02:08:49 2009 for MediaWiki by  doxygen 1.5.9