MediaWiki  REL1_19
SpecialFilepath Class Reference

A special page that redirects to the URL of a given file. More...

Inheritance diagram for SpecialFilepath:
Collaboration diagram for SpecialFilepath:

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Default execute method Checks user permissions, calls the function given in mFunction.
 showForm ($title)

Detailed Description

A special page that redirects to the URL of a given file.

Definition at line 29 of file SpecialFilepath.php.


Constructor & Destructor Documentation

Definition at line 31 of file SpecialFilepath.php.


Member Function Documentation

Default execute method Checks user permissions, calls the function given in mFunction.

This must be overridden by subclasses; it will be made abstract in a future version

Parameters:
$parString subpage string, if one was specified

Reimplemented from SpecialPage.

Definition at line 35 of file SpecialFilepath.php.

References $file, $title, $url, SpecialPage\getOutput(), SpecialPage\getRequest(), Title\newFromText(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showForm(), and wfFindFile().

Here is the call graph for this function:

Parameters:
$titleTitle

Definition at line 75 of file SpecialFilepath.php.

References $title, $wgScript, Html\closeElement(), Html\element(), SpecialPage\getOutput(), SpecialPage\getTitle(), Html\hidden(), Xml\inputLabel(), Html\openElement(), Xml\submitButton(), and wfMsg().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: