[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/logging/ -> PatrolLog.php (summary)

Specific methods for the patrol log. 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.

Author: Rob Church <[email protected]>
Author: Niklas Laxström
File Size: 85 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PatrolLog:: (2 methods):
  record()
  buildParams()


Class: PatrolLog  - X-Ref

Class containing static functions for working with
logs of patrol events

record( $rc, $auto = false, User $user = null )   X-Ref
Record a log event for a change being patrolled

param: int|RecentChange $rc Change identifier or RecentChange object
param: bool $auto Was this patrol event automatic?
param: User $user User performing the action or null to use $wgUser
return: bool

buildParams( $change, $auto )   X-Ref
Prepare log parameters for a patrolled change

param: RecentChange $change RecentChange to represent
param: bool $auto Whether the patrol event was automatic
return: array



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