SessionManager: Ignore Session object destruction during global shutdown
[mediawiki.git] / includes / htmlform / HTMLTextFieldWithButton.php
blobc6dac32270dc0f97527cbbbdc70616806c774291
1 <?php
2 /**
3 * Creates a text input field with a button assigned to the input field.
4 */
5 class HTMLTextFieldWithButton extends HTMLTextField {
6 /** @var HTMLFormClassWithButton $mClassWithButton */
7 protected $mClassWithButton = null;
9 public function __construct( $info ) {
10 $this->mClassWithButton = new HTMLFormFieldWithButton( $info );
11 parent::__construct( $info );
14 public function getInputHTML( $value ) {
15 return $this->mClassWithButton->getElement( parent::getInputHTML( $value ) );