MediaWiki  REL1_19
HTMLSelectOrOtherField Class Reference

Select dropdown field, with an additional "other" textbox. More...

Inheritance diagram for HTMLSelectOrOtherField:
Collaboration diagram for HTMLSelectOrOtherField:

List of all members.

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

Detailed Description

Select dropdown field, with an additional "other" textbox.

Definition at line 1496 of file HTMLForm.php.


Constructor & Destructor Documentation

Initialise the object.

Parameters:
$paramsarray Associative Array. See HTMLForm doc for syntax.

Reimplemented from HTMLFormField.

Definition at line 1499 of file HTMLForm.php.

References wfMsg().

Here is the call graph for this function:


Member Function Documentation

static HTMLSelectOrOtherField::forceToStringRecursive ( array) [static]

Definition at line 1508 of file HTMLForm.php.

Referenced by getInputHTML().

Here is the caller graph for this function:

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.

Parameters:
$valueString the value to set the input to; eg a default text for a text input.
Returns:
String valid HTML.

Reimplemented from HTMLTextField.

Definition at line 1516 of file HTMLForm.php.

References HTMLFormField\flattenOptions(), forceToStringRecursive(), HTMLTextField\getSize(), and Html\input().

Here is the call graph for this function:

Parameters:
$requestWebRequest
Returns:
String

Reimplemented from HTMLFormField.

Definition at line 1566 of file HTMLForm.php.

References HTMLFormField\getDefault().

Here is the call graph for this function:


Member Data Documentation

HTMLSelectOrOtherField::$jsAdded = false [static]

Definition at line 1497 of file HTMLForm.php.


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