MediaWiki master
HTMLApiField.php
Go to the documentation of this file.
1<?php
2
4
6
12 public function getTableRow( $value ) {
13 return '';
14 }
15
17 public function getDiv( $value ) {
18 return $this->getTableRow( $value );
19 }
20
22 public function getRaw( $value ) {
23 return $this->getTableRow( $value );
24 }
25
27 public function getInputHTML( $value ) {
28 return '';
29 }
30
32 public function hasVisibleOutput() {
33 return false;
34 }
35}
36
38class_alias( HTMLApiField::class, 'HTMLApiField' );
getDiv( $value)
Get the complete div for the input, including help text, labels, and whatever.to override 1....
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....
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.If not, it will not be rendered to overridebool
The parent class to generate form fields.