MediaWiki
REL1_19
|
Some tweaks to allow js prefs to work. More...
Public Member Functions | |
filterDataForSubmit ($data) | |
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 1496 of file Preferences.php.
PreferencesForm::filterDataForSubmit | ( | $ | data | ) |
$data | array |
Reimplemented from HTMLForm.
Definition at line 1559 of file Preferences.php.
References $options, and HTMLFormField\flattenOptions().
Get the whole body of the form.
Reimplemented from HTMLForm.
Definition at line 1583 of file Preferences.php.
References HTMLForm\displaySection().
Reimplemented from HTMLForm.
Definition at line 1543 of file Preferences.php.
References $t, SpecialPage\getTitleFor(), Linker\link(), ContextSource\msg(), and Xml\tags().
Get extra parameters for the query string when redirecting after successful save.
Definition at line 1526 of file Preferences.php.
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.
$key | string |
Reimplemented from HTMLForm.
Definition at line 1593 of file Preferences.php.
References wfRunHooks().
Definition at line 1512 of file Preferences.php.
References ContextSource\getUser().
PreferencesForm::setModifiedUser | ( | $ | user | ) |
PreferencesForm::wrapForm | ( | $ | html | ) |
$html | string |
Reimplemented from HTMLForm.
Definition at line 1534 of file Preferences.php.
References Xml\tags().
PreferencesForm::$modifiedUser [private] |
Definition at line 1500 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 1498 of file Preferences.php.