MediaWiki
REL1_30
UserInputWidget.php
Go to the documentation of this file.
1
<?php
8
namespace
MediaWiki\Widget
;
9
13
class
UserInputWidget
extends
\OOUI\TextInputWidget {
14
18
public
function
__construct
( array $config = [] ) {
19
// Parent constructor
20
parent::__construct( $config );
21
22
// Initialization
23
$this->addClasses( [
'mw-widget-userInputWidget'
] );
24
}
25
26
protected
function
getJavaScriptClassName
() {
27
return
'mw.widgets.UserInputWidget'
;
28
}
29
}
MediaWiki\Widget\UserInputWidget
User input widget.
Definition
UserInputWidget.php:13
MediaWiki\Widget\UserInputWidget\__construct
__construct(array $config=[])
Definition
UserInputWidget.php:18
MediaWiki\Widget\UserInputWidget\getJavaScriptClassName
getJavaScriptClassName()
Definition
UserInputWidget.php:26
MediaWiki\Widget
MediaWiki Widgets – ComplexNamespaceInputWidget class.
Definition
ComplexNamespaceInputWidget.php:8
includes
widget
UserInputWidget.php
Generated on Mon Nov 25 2024 15:43:05 for MediaWiki by
1.10.0