MediaWiki REL1_34
HTMLApiField.php
Go to the documentation of this file.
1<?php
2
4 public function getTableRow( $value ) {
5 return '';
6 }
7
8 public function getDiv( $value ) {
9 return $this->getTableRow( $value );
10 }
11
12 public function getRaw( $value ) {
13 return $this->getTableRow( $value );
14 }
15
16 public function getInputHTML( $value ) {
17 return '';
18 }
19
20 public function hasVisibleOutput() {
21 return false;
22 }
23}
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.