MediaWiki
REL1_24
|
Some tweaks to allow js prefs to work. More...
Public Member Functions | |
filterDataForSubmit ($data) | |
Separate multi-option preferences into multiple preferences, since we have to store them separately. | |
getBody () | |
Get the whole body of the form. | |
getButtons () | |
getExtraSuccessRedirectParameters () | |
Get extra parameters for the query string when redirecting after successful save. | |
getLegend ($key) | |
Get the "<legend>" for a given section key. | |
getModifiedUser () | |
setModifiedUser ($user) | |
wrapForm ($html) | |
Protected Attributes | |
$mSubSectionBeforeFields = false | |
If true, sections that contain both fields and subsections will render their subsections before their fields. | |
Private Attributes | |
$modifiedUser |
Some tweaks to allow js prefs to work.
Definition at line 1494 of file Preferences.php.
PreferencesForm::filterDataForSubmit | ( | $ | data | ) |
Get the whole body of the form.
Reimplemented from HTMLForm.
Definition at line 1592 of file Preferences.php.
References HTMLForm\displaySection().
Reimplemented from HTMLForm.
Definition at line 1541 of file Preferences.php.
References $html, $t, array(), getModifiedUser(), SpecialPage\getTitleFor(), global, Linker\link(), ContextSource\msg(), and Xml\tags().
Get extra parameters for the query string when redirecting after successful save.
Definition at line 1524 of file Preferences.php.
References array().
PreferencesForm::getLegend | ( | $ | key | ) |
Get the "<legend>" for a given section key.
Normally this is the prefs-$key message but we'll allow extensions to override it.
string | $key |
Reimplemented from HTMLForm.
Definition at line 1602 of file Preferences.php.
References $key, array(), and wfRunHooks().
Definition at line 1510 of file Preferences.php.
References ContextSource\getUser().
Referenced by getButtons().
PreferencesForm::setModifiedUser | ( | $ | user | ) |
PreferencesForm::wrapForm | ( | $ | html | ) |
string | $html |
Reimplemented from HTMLForm.
Definition at line 1532 of file Preferences.php.
References $html, array(), and Xml\tags().
PreferencesForm::$modifiedUser [private] |
Definition at line 1498 of file Preferences.php.
PreferencesForm::$mSubSectionBeforeFields = false [protected] |
If true, sections that contain both fields and subsections will render their subsections before their fields.
Subclasses may set this to false to render subsections after fields instead.
Reimplemented from HTMLForm.
Definition at line 1496 of file Preferences.php.