MediaWiki  REL1_22
EditWatchlistCheckboxSeriesField Class Reference
Inheritance diagram for EditWatchlistCheckboxSeriesField:
Collaboration diagram for EditWatchlistCheckboxSeriesField:

List of all members.

Public Member Functions

 validate ($value, $alldata)
 HTMLMultiSelectField throws validation errors if we get input data that doesn't match the data set in the form setup.

Detailed Description

Definition at line 707 of file SpecialEditWatchlist.php.


Member Function Documentation

EditWatchlistCheckboxSeriesField::validate ( value,
alldata 
)

HTMLMultiSelectField throws validation errors if we get input data that doesn't match the data set in the form setup.

This causes problems if something gets removed from the watchlist while the form is open (bug 32126), but we know that invalid items will be harmless so we can override it here.

Parameters:
string$valuethe value the field was submitted with
array$alldatathe data collected from the form
Returns:
Mixed Bool true on success, or String error to display.

Reimplemented from HTMLMultiSelectField.

Definition at line 719 of file SpecialEditWatchlist.php.

References $value.


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