[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/actions/ -> RawAction.php (summary)

Raw page text accessor Copyright © 2004 Gabriel Wicke <[email protected]> http://wikidev.net/

Author: Gabriel Wicke <[email protected]>
File Size: 258 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RawAction:: (7 methods):
  getName()
  requiresWrite()
  requiresUnblock()
  onView()
  getRawText()
  getOldId()
  getContentType()


Class: RawAction  - X-Ref

A simple method to retrieve the plain source of an article,
using "action=raw" in the GET request string.

getName()   X-Ref


requiresWrite()   X-Ref
No description

requiresUnblock()   X-Ref
No description

onView()   X-Ref
No description

getRawText()   X-Ref
Get the text that should be returned, or false if the page or revision
was not found.

return: string|bool

getOldId()   X-Ref
Get the ID of the revision that should used to get the text.

return: int

getContentType()   X-Ref
Get the content type to use for the response

return: string



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