MediaWiki  REL1_24
SpecialCreateAccount Class Reference

Redirect page: Special:CreateAccount --> Special:UserLogin/signup. More...

Inheritance diagram for SpecialCreateAccount:
Collaboration diagram for SpecialCreateAccount:

List of all members.

Public Member Functions

 __construct ()
 isListed ()
 Whether this special page is listed in Special:SpecialPages.
 isRestricted ()
 Can be overridden by subclasses with more complicated permissions schemes.
 userCanExecute (User $user)
 Checks if the given user (identified by an object) can execute this special page (as defined by $mRestriction).

Protected Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Detailed Description

Redirect page: Special:CreateAccount --> Special:UserLogin/signup.

Todo:
FIXME: This (and the rest of the login frontend) needs to die a horrible painful death

Definition at line 30 of file SpecialCreateAccount.php.


Constructor & Destructor Documentation

Definition at line 31 of file SpecialCreateAccount.php.

References array().


Member Function Documentation

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 53 of file SpecialCreateAccount.php.

Whether this special page is listed in Special:SpecialPages.

Since:
1.3 (r3583)
Returns:
bool

Reimplemented from UnlistedSpecialPage.

Definition at line 41 of file SpecialCreateAccount.php.

Can be overridden by subclasses with more complicated permissions schemes.

Returns:
bool Should the page be displayed with the restricted-access pages?

Reimplemented from SpecialPage.

Definition at line 45 of file SpecialCreateAccount.php.

References User\groupHasPermission().

Checks if the given user (identified by an object) can execute this special page (as defined by $mRestriction).

Can be overridden by sub- classes with more complicated permissions schemes.

Parameters:
User$userThe user to check
Returns:
bool Does the user have permission to view the page?

Reimplemented from SpecialPage.

Definition at line 49 of file SpecialCreateAccount.php.

References User\isAllowed().


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