| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Implements Special:Activeusers Copyright © 2008 Aaron Schulz
| File Size: | 431 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ActiveUsersPager:: (7 methods):
__construct()
setupOptions()
getIndexField()
getQueryInfo()
doBatchLookups()
formatRow()
getPageHeader()
SpecialActiveUsers:: (6 methods):
__construct()
execute()
getGroupName()
mergeActiveUsers()
cacheUpdate()
doQueryCacheUpdate()
Class: ActiveUsersPager - X-Ref
This class is used to get a list of active users. The ones with specials| __construct( IContextSource $context = null, $group = null, $par = null ) X-Ref |
param: IContextSource $context param: null $group Unused param: string $par Parameter passed to the page |
| setupOptions() X-Ref |
| No description |
| getIndexField() X-Ref |
| No description |
| getQueryInfo() X-Ref |
| No description |
| doBatchLookups() X-Ref |
| No description |
| formatRow( $row ) X-Ref |
| No description |
| getPageHeader() X-Ref |
| No description |
Class: SpecialActiveUsers - X-Ref
| __construct() X-Ref |
| Constructor |
| execute( $par ) X-Ref |
| Show the special page param: string $par Parameter passed to the page or null |
| getGroupName() X-Ref |
| No description |
| mergeActiveUsers( $period, $days ) X-Ref |
param: int $period Seconds (do updates no more often than this) param: int $days How many days user must be idle before he is considered inactive return: int How many seconds old the cache is |
| cacheUpdate( DatabaseBase $dbw ) X-Ref |
param: DatabaseBase $dbw Passed in from updateSpecialPages.php return: void |
| doQueryCacheUpdate( DatabaseBase $dbw, $days, $window ) X-Ref |
| Update the query cache as needed param: DatabaseBase $dbw param: int $days How many days user must be idle before he is considered inactive param: int $window Maximum time range of new data to scan (in seconds) return: int|bool UNIX timestamp the cache is now up-to-date as of (false on error) |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |