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


Constructor & Destructor Documentation

Construct a title dependency.

Parameters:
$titleTitle

Definition at line 208 of file CacheDependency.php.

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

Here is the call graph for this function:


Member Function Documentation

Get rid of bulky Title object for sleep.

Returns:
array

Definition at line 223 of file CacheDependency.php.

Returns:
Title

Definition at line 230 of file CacheDependency.php.

References Title\makeTitle().

Referenced by isExpired(), and loadDependencyValues().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
bool

Reimplemented from CacheDependency.

Definition at line 241 of file CacheDependency.php.

References $touched, and getTitle().

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 214 of file CacheDependency.php.

References getTitle().

Here is the call graph for this function:


Member Data Documentation

TitleDependency::$dbk

Definition at line 201 of file CacheDependency.php.

TitleDependency::$ns

Definition at line 201 of file CacheDependency.php.

TitleDependency::$titleObj

Definition at line 200 of file CacheDependency.php.

TitleDependency::$touched

Definition at line 202 of file CacheDependency.php.

Referenced by isExpired().


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