[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

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

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

Defines 1 class

ApiQueryInfo:: (27 methods):
  __construct()
  requestExtraData()
  getTokenFunctions()
  resetTokenCache()
  getEditToken()
  getDeleteToken()
  getProtectToken()
  getMoveToken()
  getBlockToken()
  getUnblockToken()
  getEmailToken()
  getImportToken()
  getWatchToken()
  getOptionsToken()
  execute()
  extractPageInfo()
  getProtectionInfo()
  getTSIDs()
  getDisplayTitle()
  getWatchedInfo()
  getWatcherInfo()
  getCacheMode()
  getAllowedParams()
  getParamDescription()
  getDescription()
  getExamples()
  getHelpUrls()


Class: ApiQueryInfo  - X-Ref

A query module to show basic page information.

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

requestExtraData( $pageSet )   X-Ref

param: ApiPageSet $pageSet
return: void

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

return: array Array(tokenname => function)

resetTokenCache()   X-Ref


getEditToken( $pageid, $title )   X-Ref


getDeleteToken( $pageid, $title )   X-Ref


getProtectToken( $pageid, $title )   X-Ref


getMoveToken( $pageid, $title )   X-Ref


getBlockToken( $pageid, $title )   X-Ref


getUnblockToken( $pageid, $title )   X-Ref


getEmailToken( $pageid, $title )   X-Ref


getImportToken( $pageid, $title )   X-Ref


getWatchToken( $pageid, $title )   X-Ref


getOptionsToken( $pageid, $title )   X-Ref


execute()   X-Ref
No description

extractPageInfo( $pageid, $title )   X-Ref
Get a result array with information about a title

param: int $pageid Page ID (negative for missing titles)
param: Title $title
return: array

getProtectionInfo()   X-Ref
Get information about protections and put it in $protections


getTSIDs()   X-Ref
Get talk page IDs (if requested) and subject page IDs (if requested)
and put them in $talkids and $subjectids


getDisplayTitle()   X-Ref
No description

getWatchedInfo()   X-Ref
Get information about watched status and put it in $this->watched
and $this->notificationtimestamps


getWatcherInfo()   X-Ref
Get the count of watchers and put it in $this->watchers


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