MediaWiki
master
HTMLApiField.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\HTMLForm\Field
;
4
5
use
MediaWiki\HTMLForm\HTMLFormField
;
6
10
class
HTMLApiField
extends
HTMLFormField
{
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
38
class_alias( HTMLApiField::class,
'HTMLApiField'
);
MediaWiki\HTMLForm\Field\HTMLApiField
Definition
HTMLApiField.php:10
MediaWiki\HTMLForm\Field\HTMLApiField\getDiv
getDiv( $value)
Get the complete div for the input, including help text, labels, and whatever.to override 1....
Definition
HTMLApiField.php:17
MediaWiki\HTMLForm\Field\HTMLApiField\getRaw
getRaw( $value)
Get the complete raw fields for the input, including help text, labels, and whatever....
Definition
HTMLApiField.php:22
MediaWiki\HTMLForm\Field\HTMLApiField\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself....
Definition
HTMLApiField.php:27
MediaWiki\HTMLForm\Field\HTMLApiField\getTableRow
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever....
Definition
HTMLApiField.php:12
MediaWiki\HTMLForm\Field\HTMLApiField\hasVisibleOutput
hasVisibleOutput()
If this field has a user-visible output or not.If not, it will not be rendered to overridebool
Definition
HTMLApiField.php:32
MediaWiki\HTMLForm\HTMLFormField
The parent class to generate form fields.
Definition
HTMLFormField.php:27
MediaWiki\HTMLForm\Field
Definition
HTMLApiField.php:3
includes
HTMLForm
Field
HTMLApiField.php
Generated on Sat Dec 13 2025 07:24:43 for MediaWiki by
1.10.0