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

Public Member Functions

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

Protected Attributes

IDatabase $mDb
 Database connection reference.
 
array $mOptions = []
 SELECT options to be used (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()
 

Additional Inherited Members

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

Detailed Description

Deprecated:
Since 1.28 Use DataUpdate directly, injecting the database

Definition at line 29 of file SqlDataUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

SqlDataUpdate::__construct ( )

Reimplemented from DataUpdate.

Definition at line 35 of file SqlDataUpdate.php.

References DB_MASTER, and wfGetLB().

Member Data Documentation

◆ $mDb

IDatabase SqlDataUpdate::$mDb
protected

Database connection reference.

Definition at line 31 of file SqlDataUpdate.php.

◆ $mOptions

array SqlDataUpdate::$mOptions = []
protected

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: