MediaWiki
REL1_19
|
An information field (text blob), not a proper input. More...
Public Member Functions | |
__construct ($info) | |
Initialise the object. | |
getInputHTML ($value) | |
This function must be implemented to return the HTML to generate the input object itself. | |
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 1928 of file HTMLForm.php.
HTMLInfoField::__construct | ( | $ | params | ) |
Initialise the object.
$params | array Associative Array. See HTMLForm doc for syntax. |
Reimplemented from HTMLFormField.
Definition at line 1929 of file HTMLForm.php.
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.
$value | String the value to set the input to; eg a default text for a text input. |
Reimplemented from HTMLFormField.
Definition at line 1935 of file HTMLForm.php.
HTMLInfoField::getTableRow | ( | $ | value | ) |
Get the complete table row for the input, including help text, labels, and whatever.
$value | String the value to set the input to. |
Reimplemented from HTMLFormField.
Definition at line 1939 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 1947 of file HTMLForm.php.