[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/deferred/ -> ViewCountUpdate.php (summary)

Update for the 'page_counter' field This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 119 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ViewCountUpdate:: (3 methods):
  __construct()
  doUpdate()
  collect()


Class: ViewCountUpdate  - X-Ref

Update for the 'page_counter' field, when $wgDisableCounters is false.

Depending on $wgHitcounterUpdateFreq, this will directly increment the
'page_counter' field or use the 'hitcounter' table and then collect the data
from that table to update the 'page_counter' field in a batch operation.
__construct( $id )   X-Ref
Constructor

param: int $id Page ID to increment the view count

doUpdate()   X-Ref
Run the update


collect()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1