MediaWiki  REL1_20
HTMLApiField Class Reference
Inheritance diagram for HTMLApiField:
Collaboration diagram for HTMLApiField:

List of all members.

Public Member Functions

 getDiv ($value)
 Get the complete div for the input, including help text, labels, and whatever.
 getInputHTML ($value)
 This function must be implemented to return the HTML to generate the input object itself.
 getRaw ($value)
 Get the complete raw fields for the input, including help text, labels, and whatever.
 getTableRow ($value)
 Get the complete table row for the input, including help text, labels, and whatever.

Detailed Description

Definition at line 2425 of file HTMLForm.php.


Member Function Documentation

HTMLApiField::getDiv ( value)

Get the complete div for the input, including help text, labels, and whatever.

Since:
1.20
Parameters:
$valueString the value to set the input to.
Returns:
String complete HTML table row.

Reimplemented from HTMLFormField.

Definition at line 2430 of file HTMLForm.php.

References getTableRow().

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 HTMLFormField.

Definition at line 2438 of file HTMLForm.php.

References getTableRow().

HTMLApiField::getRaw ( value)

Get the complete raw fields for the input, including help text, labels, and whatever.

Since:
1.20
Parameters:
$valueString the value to set the input to.
Returns:
String complete HTML table row.

Reimplemented from HTMLFormField.

Definition at line 2434 of file HTMLForm.php.

References getTableRow().

Get the complete table row for the input, including help text, labels, and whatever.

Parameters:
$valueString the value to set the input to.
Returns:
String complete HTML table row.

Reimplemented from HTMLFormField.

Definition at line 2426 of file HTMLForm.php.

Referenced by getDiv(), getInputHTML(), and getRaw().


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