MediaWiki
REL1_22
|
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.
$config includes: 'wiki' : wiki name to use for LoadBalancer
$config | Array |
Reimplemented from FileJournal.
Definition at line 41 of file DBFileJournal.php.
DBFileJournal::doGetChangeEntries | ( | $ | start, |
$ | limit | ||
) | [protected] |
DBError |
Reimplemented from FileJournal.
Definition at line 122 of file DBFileJournal.php.
DBFileJournal::doGetCurrentPosition | ( | ) | [protected] |
Reimplemented from FileJournal.
Definition at line 92 of file DBFileJournal.php.
DBFileJournal::doGetPositionAtTime | ( | $ | time | ) | [protected] |
$time | integer|string timestamp |
Reimplemented from FileJournal.
Definition at line 106 of file DBFileJournal.php.
DBFileJournal::doLogChangeBatch | ( | array $ | entries, |
$ | batchId | ||
) | [protected] |
Reimplemented from FileJournal.
Definition at line 51 of file DBFileJournal.php.
DBFileJournal::doPurgeOldLogs | ( | ) | [protected] |
DBError |
Reimplemented from FileJournal.
Definition at line 151 of file DBFileJournal.php.
DBFileJournal::getMasterDB | ( | ) | [protected] |
Get a master connection to the logging DB.
DBError |
Definition at line 174 of file DBFileJournal.php.
DatabaseBase DBFileJournal::$dbw [protected] |
*
Definition at line 30 of file DBFileJournal.php.
Definition at line 32 of file DBFileJournal.php.