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
{
11
public
function
getTableRow
( $value ) {
12
return
''
;
13
}
14
15
public
function
getDiv
( $value ) {
16
return
$this->
getTableRow
( $value );
17
}
18
19
public
function
getRaw
( $value ) {
20
return
$this->
getTableRow
( $value );
21
}
22
23
public
function
getInputHTML
( $value ) {
24
return
''
;
25
}
26
27
public
function
hasVisibleOutput
() {
28
return
false
;
29
}
30
}
31
33
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.
Definition
HTMLApiField.php:15
MediaWiki\HTMLForm\Field\HTMLApiField\getRaw
getRaw( $value)
Get the complete raw fields for the input, including help text, labels, and whatever.
Definition
HTMLApiField.php:19
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:23
MediaWiki\HTMLForm\Field\HTMLApiField\getTableRow
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
Definition
HTMLApiField.php:11
MediaWiki\HTMLForm\Field\HTMLApiField\hasVisibleOutput
hasVisibleOutput()
If this field has a user-visible output or not.
Definition
HTMLApiField.php:27
MediaWiki\HTMLForm\HTMLFormField
The parent class to generate form fields.
Definition
HTMLFormField.php:26
MediaWiki\HTMLForm\Field
Definition
HTMLApiField.php:3
includes
htmlform
fields
HTMLApiField.php
Generated on Sat Nov 9 2024 14:23:44 for MediaWiki by
1.10.0