MediaWiki master
|
Abstract base class for update jobs that do something with some secondary data extracted from article. More...
Inherits MediaWiki\Deferred\DeferrableUpdate.
Inherited by MediaWiki\Deferred\LinksUpdate\LinksUpdate, and MediaWiki\Deferred\RefreshSecondaryDataUpdate.
Public Member Functions | |
__construct () | |
getCauseAction () | |
getCauseAgent () | |
setCause ( $action, $user) | |
setTransactionTicket ( $ticket) | |
Public Member Functions inherited from MediaWiki\Deferred\DeferrableUpdate | |
doUpdate () | |
Perform the actual work. | |
Protected Attributes | |
string | $causeAction = 'unknown' |
Short update cause action description. | |
string | $causeAgent = 'unknown' |
Short update cause user description. | |
mixed | $ticket |
Result from LBFactory::getEmptyTransactionTicket() | |
Abstract base class for update jobs that do something with some secondary data extracted from article.
Definition at line 32 of file DataUpdate.php.
MediaWiki\Deferred\DataUpdate::__construct | ( | ) |
Definition at line 43 of file DataUpdate.php.
MediaWiki\Deferred\DataUpdate::getCauseAction | ( | ) |
Definition at line 67 of file DataUpdate.php.
References MediaWiki\Deferred\DataUpdate\$causeAction.
Referenced by MediaWiki\Deferred\RefreshSecondaryDataUpdate\getAsJobSpecification(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs().
MediaWiki\Deferred\DataUpdate::getCauseAgent | ( | ) |
Definition at line 74 of file DataUpdate.php.
References MediaWiki\Deferred\DataUpdate\$causeAgent.
Referenced by MediaWiki\Deferred\RefreshSecondaryDataUpdate\getAsJobSpecification(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs().
MediaWiki\Deferred\DataUpdate::setCause | ( | $action, | |
$user ) |
string | $action | Action type |
string | $user | User name |
Definition at line 59 of file DataUpdate.php.
MediaWiki\Deferred\DataUpdate::setTransactionTicket | ( | $ticket | ) |
mixed | $ticket | Result of getEmptyTransactionTicket() |
Reimplemented in MediaWiki\Deferred\LinksUpdate\LinksUpdate.
Definition at line 51 of file DataUpdate.php.
References MediaWiki\Deferred\DataUpdate\$ticket.
|
protected |
Short update cause action description.
Definition at line 36 of file DataUpdate.php.
Referenced by MediaWiki\Deferred\DataUpdate\getCauseAction().
|
protected |
Short update cause user description.
Definition at line 38 of file DataUpdate.php.
Referenced by MediaWiki\Deferred\DataUpdate\getCauseAgent().
|
protected |
Result from LBFactory::getEmptyTransactionTicket()
Definition at line 34 of file DataUpdate.php.
Referenced by MediaWiki\Deferred\DataUpdate\setTransactionTicket(), and MediaWiki\Deferred\LinksUpdate\LinksUpdate\setTransactionTicket().