MediaWiki REL1_37
HTMLSelectNamespaceWithButton.php
Go to the documentation of this file.
1<?php
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}
Enables HTMLFormField elements to be build with a button.
Creates a Html::namespaceSelector input field with a button assigned to the input field.
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself....
Wrapper for Html::namespaceSelector to use in HTMLForm.