|
MediaWiki
REL1_23
|
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 6 of file HTMLInfoField.php.
| HTMLInfoField::__construct | ( | $ | params | ) |
Initialise the object.
| array | $params | Associative Array. See HTMLForm doc for syntax. |
| MWException |
Reimplemented from HTMLFormField.
Definition at line 7 of file HTMLInfoField.php.
| 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 13 of file HTMLInfoField.php.
| 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 17 of file HTMLInfoField.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 47 of file HTMLInfoField.php.