MediaWiki REL1_31
|
Class to invalidate the HTML cache of all the pages linking to a given title. More...
Public Member Functions | |
__construct (Title $titleTo, $table, $causeAction='unknown', $causeAgent='unknown') | |
doUpdate () | |
Perform the actual work. | |
Public Member Functions inherited from DataUpdate | |
__construct () | |
getCauseAction () | |
getCauseAgent () | |
setCause ( $action, $user) | |
setTransactionTicket ( $ticket) | |
Public Attributes | |
string | $mTable |
Title | $mTitle |
Additional Inherited Members | |
Static Public Member Functions inherited from DataUpdate | |
static | runUpdates (array $updates) |
Convenience method, calls doUpdate() on every DataUpdate in the array. | |
Protected Attributes inherited from DataUpdate | |
string | $causeAction = 'unknown' |
Short update cause action description. | |
string | $causeAgent = 'unknown' |
Short update cause user description. | |
mixed | $ticket |
Result from LBFactory::getEmptyTransactionTicket() | |
Class to invalidate the HTML cache of all the pages linking to a given title.
Definition at line 29 of file HTMLCacheUpdate.php.
HTMLCacheUpdate::__construct | ( | Title | $titleTo, |
$table, | |||
$causeAction = 'unknown', | |||
$causeAgent = 'unknown' ) |
Title | $titleTo | |
string | $table | |
string | $causeAction | Triggering action |
string | $causeAgent | Triggering user |
Definition at line 42 of file HTMLCacheUpdate.php.
References DataUpdate\$causeAction, and DataUpdate\$causeAgent.
HTMLCacheUpdate::doUpdate | ( | ) |
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 51 of file HTMLCacheUpdate.php.
References $job, DataUpdate\getCauseAction(), DataUpdate\getCauseAgent(), HTMLCacheUpdateJob\newForBacklinks(), and JobQueueGroup\singleton().
string HTMLCacheUpdate::$mTable |
Definition at line 34 of file HTMLCacheUpdate.php.
Title HTMLCacheUpdate::$mTitle |
Definition at line 31 of file HTMLCacheUpdate.php.