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

List of all members.

Public Member Functions

 __construct (Title $title)
 Construct a title dependency.
 __sleep ()
 Get rid of bulky Title object for sleep.
 getTitle ()
 isExpired ()
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values.

Public Attributes

 $dbk
 $ns
 $titleObj
 $touched

Detailed Description

Definition at line 220 of file CacheDependency.php.


Constructor & Destructor Documentation

Construct a title dependency.

Parameters:
$titleTitle

Definition at line 229 of file CacheDependency.php.

References $title, Title\getDBkey(), and Title\getNamespace().


Member Function Documentation

Get rid of bulky Title object for sleep.

Returns:
array

Definition at line 244 of file CacheDependency.php.

References array().

Returns:
Title

Definition at line 251 of file CacheDependency.php.

References Title\makeTitle().

Referenced by isExpired(), and loadDependencyValues().

Returns:
bool

Reimplemented from CacheDependency.

Definition at line 262 of file CacheDependency.php.

References $touched, and getTitle().

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

Reimplemented from CacheDependency.

Definition at line 235 of file CacheDependency.php.

References getTitle().


Member Data Documentation

TitleDependency::$dbk

Definition at line 222 of file CacheDependency.php.

TitleDependency::$ns

Definition at line 222 of file CacheDependency.php.

TitleDependency::$titleObj

Definition at line 221 of file CacheDependency.php.

TitleDependency::$touched

Definition at line 223 of file CacheDependency.php.

Referenced by isExpired().


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