MediaWiki
REL1_19
|
Select dropdown field, with an additional "other" textbox. More...
Public Member Functions | |
__construct ($params) | |
Initialise the object. | |
getInputHTML ($value) | |
This function must be implemented to return the HTML to generate the input object itself. | |
loadDataFromRequest ($request) | |
Static Public Member Functions | |
static | forceToStringRecursive ($array) |
Static Public Attributes | |
static | $jsAdded = false |
Select dropdown field, with an additional "other" textbox.
Definition at line 1496 of file HTMLForm.php.
HTMLSelectOrOtherField::__construct | ( | $ | params | ) |
Initialise the object.
$params | array Associative Array. See HTMLForm doc for syntax. |
Reimplemented from HTMLFormField.
Definition at line 1499 of file HTMLForm.php.
References wfMsg().
static HTMLSelectOrOtherField::forceToStringRecursive | ( | $ | array | ) | [static] |
Definition at line 1508 of file HTMLForm.php.
Referenced by getInputHTML().
HTMLSelectOrOtherField::getInputHTML | ( | $ | value | ) |
This function must be implemented to return the HTML to generate the input object itself.
It should not implement the surrounding table cells/rows, or labels/help messages.
$value | String the value to set the input to; eg a default text for a text input. |
Reimplemented from HTMLTextField.
Definition at line 1516 of file HTMLForm.php.
References HTMLFormField\flattenOptions(), forceToStringRecursive(), HTMLTextField\getSize(), and Html\input().
HTMLSelectOrOtherField::loadDataFromRequest | ( | $ | request | ) |
$request | WebRequest |
Reimplemented from HTMLFormField.
Definition at line 1566 of file HTMLForm.php.
References HTMLFormField\getDefault().
HTMLSelectOrOtherField::$jsAdded = false [static] |
Definition at line 1497 of file HTMLForm.php.