MediaWiki
REL1_24
|
A special page that allows users to change their preferences. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions. | |
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.
This must be overridden by subclasses; it will be made abstract in a future version
string | null | $subPage |
Reimplemented from SpecialPage.
Definition at line 34 of file SpecialPreferences.php.
References $out, array(), SpecialPage\checkReadOnly(), etc, from, SpecialPage\getContext(), Preferences\getFormObject(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), SpecialPage\outputHeader(), SpecialPage\requireLogin(), 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 99 of file SpecialPreferences.php.
SpecialPreferences::showResetForm | ( | ) | [private] |
Definition at line 64 of file SpecialPreferences.php.
References array(), SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getPageTitle(), and SpecialPage\getUser().
Referenced by execute().
SpecialPreferences::submitReset | ( | $ | formData | ) |
Definition at line 83 of file SpecialPreferences.php.
References $user, SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getPageTitle(), and SpecialPage\getUser().