MediaWiki
1.34.0
HTMLTextFieldWithButton.php
Go to the documentation of this file.
1
<?php
5
class
HTMLTextFieldWithButton
extends
HTMLTextField
{
7
protected
$mClassWithButton
=
null
;
8
9
public
function
__construct
( $info ) {
10
$this->mClassWithButton =
new
HTMLFormFieldWithButton
( $info );
11
parent::__construct( $info );
12
}
13
14
public
function
getInputHTML
( $value ) {
15
return
$this->mClassWithButton->getElement( parent::getInputHTML( $value ) );
16
}
17
}
HTMLTextField
<input> field.
Definition:
HTMLTextField.php:11
HTMLFormFieldWithButton
Enables HTMLFormField elements to be build with a button.
Definition:
HTMLFormFieldWithButton.php:5
HTMLTextFieldWithButton\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
Definition:
HTMLTextFieldWithButton.php:14
HTMLTextFieldWithButton
Creates a text input field with a button assigned to the input field.
Definition:
HTMLTextFieldWithButton.php:5
HTMLTextFieldWithButton\$mClassWithButton
$mClassWithButton
Definition:
HTMLTextFieldWithButton.php:7
HTMLTextFieldWithButton\__construct
__construct( $info)
Definition:
HTMLTextFieldWithButton.php:9
includes
htmlform
fields
HTMLTextFieldWithButton.php
Generated on Thu Dec 19 2019 14:54:21 for MediaWiki by
1.8.16