MediaWiki REL1_31
HTMLSubmittedValueField.php
Go to the documentation of this file.
1<?php
2
8 public function getTableRow( $value ) {
9 return '';
10 }
11
12 public function getDiv( $value ) {
13 return '';
14 }
15
16 public function getRaw( $value ) {
17 return '';
18 }
19
20 public function getInputHTML( $value ) {
21 return '';
22 }
23
24 public function canDisplayErrors() {
25 return false;
26 }
27
28 public function hasVisibleOutput() {
29 return false;
30 }
31}
The parent class to generate form fields.
Do not generate any input element, just accept a value.
getDiv( $value)
Get the complete div for the input, including help text, labels, and whatever.
hasVisibleOutput()
If this field has a user-visible output or not.
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
canDisplayErrors()
True if this field type is able to display errors; false if validation errors need to be displayed in...
getRaw( $value)
Get the complete raw fields 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.