MediaWiki
REL1_19
|
Class for handling updates to the site_stats table. More...
Public Member Functions | |
__construct ($views, $edits, $good, $pages=0, $users=0) | |
appendUpdate (&$sql, $field, $delta) | |
doUpdate () | |
Perform the actual work. | |
Static Public Member Functions | |
static | cacheUpdate ($dbw) |
Public Attributes | |
$mEdits | |
$mGood | |
$mPages | |
$mUsers | |
$mViews |
Class for handling updates to the site_stats table.
Definition at line 225 of file SiteStats.php.
SiteStatsUpdate::__construct | ( | $ | views, |
$ | edits, | ||
$ | good, | ||
$ | pages = 0 , |
||
$ | users = 0 |
||
) |
Definition at line 229 of file SiteStats.php.
SiteStatsUpdate::appendUpdate | ( | &$ | sql, |
$ | field, | ||
$ | delta | ||
) |
$sql | |
$field | |
$delta |
Definition at line 242 of file SiteStats.php.
Referenced by doUpdate().
static SiteStatsUpdate::cacheUpdate | ( | $ | dbw | ) | [static] |
$dbw | DatabaseBase |
Definition at line 281 of file SiteStats.php.
References $dbr, $wgActiveUserDays, and wfGetDB().
Referenced by SiteStatsInit\doAllAndCommit(), InitStats\execute(), and SpecialStatistics\execute().
Perform the actual work.
Implements DeferrableUpdate.
Definition at line 255 of file SiteStats.php.
References appendUpdate(), and wfGetDB().
SiteStatsUpdate::$mEdits |
Definition at line 227 of file SiteStats.php.
SiteStatsUpdate::$mGood |
Definition at line 227 of file SiteStats.php.
SiteStatsUpdate::$mPages |
Definition at line 227 of file SiteStats.php.
SiteStatsUpdate::$mUsers |
Definition at line 227 of file SiteStats.php.
SiteStatsUpdate::$mViews |
Definition at line 227 of file SiteStats.php.