MediaWiki
REL1_22
|
A special page that allows users to change their preferences. More...
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 () |
A special page that allows users to change their preferences.
Definition at line 29 of file SpecialPreferences.php.
Definition at line 30 of file SpecialPreferences.php.
SpecialPreferences::execute | ( | $ | subPage | ) |
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
$subPage | string|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.
SpecialPreferences::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 105 of file SpecialPreferences.php.
SpecialPreferences::showResetForm | ( | ) | [private] |
Definition at line 71 of file SpecialPreferences.php.
References array(), SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getTitle(), and SpecialPage\getUser().
Referenced by execute().
SpecialPreferences::submitReset | ( | $ | formData | ) |
Definition at line 89 of file SpecialPreferences.php.
References $user, SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getTitle(), and SpecialPage\getUser().