MediaWiki
REL1_35
HTMLSelectNamespaceWithButton.php
Go to the documentation of this file.
1
<?php
7
class
HTMLSelectNamespaceWithButton
extends
HTMLSelectNamespace
{
9
protected
$mClassWithButton
=
null
;
10
11
/*
12
* @stable to call
13
*/
14
public
function
__construct
( $info ) {
15
$this->mClassWithButton =
new
HTMLFormFieldWithButton
( $info );
16
parent::__construct( $info );
17
}
18
19
public
function
getInputHTML
( $value ) {
20
return
$this->mClassWithButton->getElement( parent::getInputHTML( $value ) );
21
}
22
}
HTMLFormFieldWithButton
Enables HTMLFormField elements to be build with a button.
Definition
HTMLFormFieldWithButton.php:7
HTMLSelectNamespaceWithButton
Creates a Html::namespaceSelector input field with a button assigned to the input field.
Definition
HTMLSelectNamespaceWithButton.php:7
HTMLSelectNamespaceWithButton\getInputHTML
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself....
Definition
HTMLSelectNamespaceWithButton.php:19
HTMLSelectNamespaceWithButton\$mClassWithButton
HTMLFormFieldWithButton $mClassWithButton
Definition
HTMLSelectNamespaceWithButton.php:9
HTMLSelectNamespaceWithButton\__construct
__construct( $info)
Initialise the object.
Definition
HTMLSelectNamespaceWithButton.php:14
HTMLSelectNamespace
Wrapper for Html::namespaceSelector to use in HTMLForm.
Definition
HTMLSelectNamespace.php:7
includes
htmlform
fields
HTMLSelectNamespaceWithButton.php
Generated on Sat Apr 6 2024 00:07:15 for MediaWiki by
1.9.8