MediaWiki  1.34.4
HTMLApiField.php
Go to the documentation of this file.
1 <?php
2 
3 class HTMLApiField extends HTMLFormField {
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 }
HTMLApiField\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
Definition: HTMLApiField.php:16
HTMLApiField\getDiv
getDiv( $value)
Get the complete div for the input, including help text, labels, and whatever.
Definition: HTMLApiField.php:8
HTMLFormField
The parent class to generate form fields.
Definition: HTMLFormField.php:7
HTMLApiField\getTableRow
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
Definition: HTMLApiField.php:4
HTMLApiField\hasVisibleOutput
hasVisibleOutput()
If this field has a user-visible output or not.
Definition: HTMLApiField.php:20
HTMLApiField
Definition: HTMLApiField.php:3
HTMLApiField\getRaw
getRaw( $value)
Get the complete raw fields for the input, including help text, labels, and whatever.
Definition: HTMLApiField.php:12