TitleDependency Class Reference
[Cache]

Inherits CacheDependency.

List of all members.

Public Member Functions

 __construct (Title $title)
 Construct a title dependency.
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values.
 __sleep ()
 Get rid of bulky Title object for sleep.
 getTitle ()
 isExpired ()
 Returns true if the dependency is expired, false otherwise.

Public Attributes

 $titleObj
 $ns
 $dbk
 $touched


Detailed Description

Definition at line 176 of file CacheDependency.php.


Constructor & Destructor Documentation

TitleDependency::__construct ( Title title  ) 

Construct a title dependency.

Parameters:
Title $title

Definition at line 185 of file CacheDependency.php.

References Title::getDBkey(), and Title::getNamespace().


Member Function Documentation

TitleDependency::__sleep (  ) 

Get rid of bulky Title object for sleep.

Definition at line 198 of file CacheDependency.php.

TitleDependency::getTitle (  ) 

Definition at line 202 of file CacheDependency.php.

References Title::makeTitle().

Referenced by isExpired(), and loadDependencyValues().

TitleDependency::isExpired (  ) 

Returns true if the dependency is expired, false otherwise.

Reimplemented from CacheDependency.

Definition at line 209 of file CacheDependency.php.

References $touched, and getTitle().

TitleDependency::loadDependencyValues (  ) 

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

Reimplemented from CacheDependency.

Definition at line 191 of file CacheDependency.php.

References getTitle().


Member Data Documentation

TitleDependency::$dbk

Definition at line 178 of file CacheDependency.php.

TitleDependency::$ns

Definition at line 178 of file CacheDependency.php.

TitleDependency::$titleObj

Definition at line 177 of file CacheDependency.php.

TitleDependency::$touched

Definition at line 179 of file CacheDependency.php.

Referenced by isExpired().


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