Class for handling updates to the site_stats table.
More...
|
static string[] | $counters |
| Map of (table column => counter type)
|
|
Class for handling updates to the site_stats table.
Definition at line 27 of file SiteStatsUpdate.php.
◆ __construct()
SiteStatsUpdate::__construct |
( |
| $views, |
|
|
| $edits, |
|
|
| $good, |
|
|
| $pages = 0, |
|
|
| $users = 0 ) |
◆ cacheUpdate()
static SiteStatsUpdate::cacheUpdate |
( |
IDatabase | $dbw | ) |
|
|
static |
◆ doUpdate()
SiteStatsUpdate::doUpdate |
( |
| ) |
|
◆ factory()
static SiteStatsUpdate::factory |
( |
array | $deltas | ) |
|
|
static |
◆ merge()
◆ $articles
int SiteStatsUpdate::$articles = 0 |
|
protected |
◆ $counters
string [] SiteStatsUpdate::$counters |
|
staticprivate |
Initial value:= [
'ss_total_edits' => 'edits',
'ss_total_pages' => 'pages',
'ss_good_articles' => 'articles',
'ss_users' => 'users',
'ss_images' => 'images'
]
Map of (table column => counter type)
Definition at line 40 of file SiteStatsUpdate.php.
◆ $edits
int SiteStatsUpdate::$edits = 0 |
|
protected |
◆ $images
int SiteStatsUpdate::$images = 0 |
|
protected |
◆ $pages
int SiteStatsUpdate::$pages = 0 |
|
protected |
◆ $users
int SiteStatsUpdate::$users = 0 |
|
protected |
The documentation for this class was generated from the following file: