MediaWiki
REL1_37
HTMLTextFieldWithButton.php
Go to the documentation of this file.
1
<?php
7
class
HTMLTextFieldWithButton
extends
HTMLTextField
{
9
protected
$mClassWithButton
=
null
;
10
15
public
function
__construct
( $info ) {
16
$this->mClassWithButton =
new
HTMLFormFieldWithButton
( $info );
17
parent::__construct( $info );
18
}
19
20
public
function
getInputHTML
( $value ) {
21
return
$this->mClassWithButton->getElement( parent::getInputHTML( $value ) );
22
}
23
}
HTMLFormFieldWithButton
Enables HTMLFormField elements to be build with a button.
Definition
HTMLFormFieldWithButton.php:7
HTMLTextFieldWithButton
Creates a text input field with a button assigned to the input field.
Definition
HTMLTextFieldWithButton.php:7
HTMLTextFieldWithButton\$mClassWithButton
HTMLFormFieldWithButton $mClassWithButton
Definition
HTMLTextFieldWithButton.php:9
HTMLTextFieldWithButton\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself....
Definition
HTMLTextFieldWithButton.php:20
HTMLTextFieldWithButton\__construct
__construct( $info)
Definition
HTMLTextFieldWithButton.php:15
HTMLTextField
<input> field.
Definition
HTMLTextField.php:15
includes
htmlform
fields
HTMLTextFieldWithButton.php
Generated on Fri Apr 5 2024 23:40:20 for MediaWiki by
1.9.8