MediaWiki  REL1_19
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 618 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:
$valueString the value the field was submitted with
$alldataArray the data collected from the form
Returns:
Mixed Bool true on success, or String error to display.

Reimplemented from HTMLMultiSelectField.

Definition at line 630 of file SpecialEditWatchlist.php.


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