MediaWiki
REL1_31
HTMLSelectNamespaceWithButton.php
Go to the documentation of this file.
1
<?php
5
class
HTMLSelectNamespaceWithButton
extends
HTMLSelectNamespace
{
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
}
HTMLFormFieldWithButton
Enables HTMLFormField elements to be build with a button.
Definition
HTMLFormFieldWithButton.php:5
HTMLSelectNamespaceWithButton
Creates a Html::namespaceSelector input field with a button assigned to the input field.
Definition
HTMLSelectNamespaceWithButton.php:5
HTMLSelectNamespaceWithButton\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
Definition
HTMLSelectNamespaceWithButton.php:14
HTMLSelectNamespaceWithButton\$mClassWithButton
$mClassWithButton
Definition
HTMLSelectNamespaceWithButton.php:7
HTMLSelectNamespaceWithButton\__construct
__construct( $info)
Initialise the object.
Definition
HTMLSelectNamespaceWithButton.php:9
HTMLSelectNamespace
Wrapper for Html::namespaceSelector to use in HTMLForm.
Definition
HTMLSelectNamespace.php:5
$value
$value
Definition
styleTest.css.php:45
includes
htmlform
fields
HTMLSelectNamespaceWithButton.php
Generated on Mon Nov 25 2024 15:34:50 for MediaWiki by
1.10.0