SpecialRedirectToSpecial Class Reference
[SpecialPage]

Shortcut to construct a special page alias. More...

Inherits UnlistedSpecialPage.

List of all members.

Public Member Functions

 __construct ($name, $redirName, $redirSubpage=false, $redirectParams=array())
 getRedirect ($subpage)
 If the special page is a redirect, then get the Title object it redirects to.

Public Attributes

 $redirName
 $redirSubpage


Detailed Description

Shortcut to construct a special page alias.

Definition at line 875 of file SpecialPage.php.


Constructor & Destructor Documentation

SpecialRedirectToSpecial::__construct ( name,
redirName,
redirSubpage = false,
redirectParams = array() 
)

Definition at line 878 of file SpecialPage.php.

References $name, $redirName, and $redirSubpage.


Member Function Documentation

SpecialRedirectToSpecial::getRedirect ( subpage  ) 

If the special page is a redirect, then get the Title object it redirects to.

False otherwise.

Reimplemented from SpecialPage.

Definition at line 885 of file SpecialPage.php.

References SpecialPage::getTitleFor().


Member Data Documentation

SpecialRedirectToSpecial::$redirName

Definition at line 876 of file SpecialPage.php.

Referenced by __construct().

SpecialRedirectToSpecial::$redirSubpage

Definition at line 876 of file SpecialPage.php.

Referenced by __construct().


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

Generated on Sat Sep 5 02:08:47 2009 for MediaWiki by  doxygen 1.5.9