MediaWiki
REL1_24
|
Version of FileJournal that logs to a DB table. More...
Protected Member Functions | |
__construct (array $config) | |
Construct a new instance from configuration. | |
doGetChangeEntries ($start, $limit) | |
doGetCurrentPosition () | |
doGetPositionAtTime ($time) | |
doLogChangeBatch (array $entries, $batchId) | |
doPurgeOldLogs () | |
getMasterDB () | |
Get a master connection to the logging DB. | |
Protected Attributes | |
DatabaseBase | $dbw |
* | |
$wiki = false |
Version of FileJournal that logs to a DB table.
Definition at line 29 of file DBFileJournal.php.
DBFileJournal::__construct | ( | array $ | config | ) | [protected] |
Construct a new instance from configuration.
array | $config | Includes: 'wiki' : wiki name to use for LoadBalancer |
Reimplemented from FileJournal.
Definition at line 40 of file DBFileJournal.php.
DBFileJournal::doGetChangeEntries | ( | $ | start, |
$ | limit | ||
) | [protected] |
int | $start | |
int | $limit |
Reimplemented from FileJournal.
Definition at line 127 of file DBFileJournal.php.
DBFileJournal::doGetCurrentPosition | ( | ) | [protected] |
Reimplemented from FileJournal.
Definition at line 95 of file DBFileJournal.php.
DBFileJournal::doGetPositionAtTime | ( | $ | time | ) | [protected] |
int | string | $time | Timestamp |
Reimplemented from FileJournal.
Definition at line 109 of file DBFileJournal.php.
DBFileJournal::doLogChangeBatch | ( | array $ | entries, |
$ | batchId | ||
) | [protected] |
array | $entries | |
string | $batchId |
Reimplemented from FileJournal.
Definition at line 52 of file DBFileJournal.php.
DBFileJournal::doPurgeOldLogs | ( | ) | [protected] |
DBError |
Reimplemented from FileJournal.
Definition at line 156 of file DBFileJournal.php.
DBFileJournal::getMasterDB | ( | ) | [protected] |
Get a master connection to the logging DB.
DBError |
Definition at line 179 of file DBFileJournal.php.
DatabaseBase DBFileJournal::$dbw [protected] |
*
Definition at line 30 of file DBFileJournal.php.
Definition at line 32 of file DBFileJournal.php.