MediaWiki 1.40.4
HTMLApiField.php
Go to the documentation of this file.
1<?php
2
7 public function getTableRow( $value ) {
8 return '';
9 }
10
11 public function getDiv( $value ) {
12 return $this->getTableRow( $value );
13 }
14
15 public function getRaw( $value ) {
16 return $this->getTableRow( $value );
17 }
18
19 public function getInputHTML( $value ) {
20 return '';
21 }
22
23 public function hasVisibleOutput() {
24 return false;
25 }
26}
getRaw( $value)
Get the complete raw fields for the input, including help text, labels, and whatever.
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.
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
hasVisibleOutput()
If this field has a user-visible output or not.
The parent class to generate form fields.