MediaWiki
REL1_22
|
An information field (text blob), not a proper input. More...
Public Member Functions | |
__construct ($info) | |
Initialise the object. | |
getDiv ($value) | |
getInputHTML ($value) | |
This function must be implemented to return the HTML to generate the input object itself. | |
getRaw ($value) | |
getTableRow ($value) | |
Get the complete table row for the input, including help text, labels, and whatever. | |
Protected Member Functions | |
needsLabel () | |
Should this field have a label, or is there no input element with the appropriate id for the label to point to? |
An information field (text blob), not a proper input.
Definition at line 2736 of file HTMLForm.php.
HTMLInfoField::__construct | ( | $ | params | ) |
Initialise the object.
array | $params | Associative Array. See HTMLForm doc for syntax. |
MWException |
Reimplemented from HTMLFormField.
Definition at line 2737 of file HTMLForm.php.
Referenced by getInputHTML().
HTMLInfoField::getDiv | ( | $ | value | ) |
HTMLInfoField::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.
string | $value | the value to set the input to; eg a default text for a text input. |
Reimplemented from HTMLFormField.
Definition at line 2743 of file HTMLForm.php.
References __construct().
HTMLInfoField::getRaw | ( | $ | value | ) |
HTMLInfoField::getTableRow | ( | $ | value | ) |
Get the complete table row for the input, including help text, labels, and whatever.
string | $value | the value to set the input to. |
Reimplemented from HTMLFormField.
Definition at line 2747 of file HTMLForm.php.
HTMLInfoField::needsLabel | ( | ) | [protected] |
Should this field have a label, or is there no input element with the appropriate id for the label to point to?
Reimplemented from HTMLFormField.
Definition at line 2777 of file HTMLForm.php.