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