MediaWiki  master
SqlDataUpdate Class Reference
Inheritance diagram for SqlDataUpdate:
Collaboration diagram for SqlDataUpdate:

Public Member Functions

 __construct ()
- Public Member Functions inherited from DataUpdate
 __construct ()
 getCauseAction ()
 getCauseAgent ()
 setCause ($action, $user)
 setTransactionTicket ($ticket)
- Public Member Functions inherited from DeferrableUpdate
 doUpdate ()
 Perform the actual work. More...

Protected Attributes

IDatabase $mDb
 Database connection reference. More...
array $mOptions = []
 SELECT options to be used (array) More...
- Protected Attributes inherited from DataUpdate
string $causeAction = 'unknown'
 Short update cause action description. More...
string $causeAgent = 'unknown'
 Short update cause user description. More...
mixed $ticket
 Result from LBFactory::getEmptyTransactionTicket() More...

Additional Inherited Members

- Static Public Member Functions inherited from DataUpdate
static runUpdates (array $updates)
 Convenience method, calls doUpdate() on every DataUpdate in the array. More...

Detailed Description

Since 1.28 Use DataUpdate directly, injecting the database

Definition at line 29 of file SqlDataUpdate.php.

Constructor & Destructor Documentation

SqlDataUpdate::__construct ( )

Definition at line 35 of file SqlDataUpdate.php.

References DB_MASTER, and wfGetLB().

Member Data Documentation

IDatabase SqlDataUpdate::$mDb

Database connection reference.

Definition at line 31 of file SqlDataUpdate.php.

array SqlDataUpdate::$mOptions = []

SELECT options to be used (array)

Definition at line 33 of file SqlDataUpdate.php.

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