[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/api/ -> ApiQueryRecentChanges.php (summary)

Created on Oct 19, 2006 Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"

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

Defines 1 class

ApiQueryRecentChanges:: (14 methods):
  __construct()
  getTokenFunctions()
  getPatrolToken()
  initProperties()
  execute()
  executeGenerator()
  run()
  extractRowInfo()
  getCacheMode()
  getAllowedParams()
  getParamDescription()
  getDescription()
  getExamples()
  getHelpUrls()


Class: ApiQueryRecentChanges  - X-Ref

A query action to enumerate the recent changes that were done to the wiki.
Various filters are supported.

__construct( ApiQuery $query, $moduleName )   X-Ref
No description

getTokenFunctions()   X-Ref
Get an array mapping token names to their handler functions.
The prototype for a token function is func($pageid, $title, $rc)
it should return a token or false (permission denied)

return: array Array(tokenname => function)

getPatrolToken( $pageid, $title, $rc = null )   X-Ref

param: int $pageid
param: Title $title
param: RecentChange|null $rc
return: bool|string

initProperties( $prop )   X-Ref
Sets internal state to include the desired properties in the output.

param: array $prop Associative array of properties, only keys are used here

execute()   X-Ref
No description

executeGenerator( $resultPageSet )   X-Ref
No description

run( $resultPageSet = null )   X-Ref
Generates and outputs the result of this query based upon the provided parameters.

param: ApiPageSet $resultPageSet

extractRowInfo( $row )   X-Ref
Extracts from a single sql row the data needed to describe one recent change.

param: stdClass $row The row from which to extract the data.
return: array An array mapping strings (descriptors) to their respective string values.

getCacheMode( $params )   X-Ref
No description

getAllowedParams()   X-Ref
No description

getParamDescription()   X-Ref
No description

getDescription()   X-Ref
No description

getExamples()   X-Ref
No description

getHelpUrls()   X-Ref
No description



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