MediaWiki  REL1_19
SiteStatsUpdate Class Reference

Class for handling updates to the site_stats table. More...

Inheritance diagram for SiteStatsUpdate:
Collaboration diagram for SiteStatsUpdate:

List of all members.

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

Detailed Description

Class for handling updates to the site_stats table.

Definition at line 225 of file SiteStats.php.


Constructor & Destructor Documentation

SiteStatsUpdate::__construct ( views,
edits,
good,
pages = 0,
users = 0 
)

Definition at line 229 of file SiteStats.php.


Member Function Documentation

SiteStatsUpdate::appendUpdate ( &$  sql,
field,
delta 
)
Parameters:
$sql
$field
$delta

Definition at line 242 of file SiteStats.php.

Referenced by doUpdate().

Here is the caller graph for this function:

static SiteStatsUpdate::cacheUpdate ( dbw) [static]
Parameters:
$dbwDatabaseBase
Returns:
bool|mixed

Definition at line 281 of file SiteStats.php.

References $dbr, $wgActiveUserDays, and wfGetDB().

Referenced by SiteStatsInit\doAllAndCommit(), InitStats\execute(), and SpecialStatistics\execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 255 of file SiteStats.php.

References appendUpdate(), and wfGetDB().

Here is the call graph for this function:


Member Data Documentation

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.


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