MediaWiki  REL1_22
SpecialPreferences Class Reference

A special page that allows users to change their preferences. More...

Inheritance diagram for SpecialPreferences:
Collaboration diagram for SpecialPreferences:

List of all members.

Public Member Functions

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

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'.

Private Member Functions

 showResetForm ()

Detailed Description

A special page that allows users to change their preferences.

Definition at line 29 of file SpecialPreferences.php.


Constructor & Destructor Documentation


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:
$subPagestring|null

Reimplemented from SpecialPage.

Definition at line 34 of file SpecialPreferences.php.

References $out, $user, array(), SpecialPage\checkReadOnly(), etc, from, SpecialPage\getContext(), Preferences\getFormObject(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), SpecialPage\outputHeader(), scripts, SpecialPage\setHeaders(), showResetForm(), and user.

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 105 of file SpecialPreferences.php.


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