MediaWiki
REL1_39
UserInputWidget.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Widget
;
4
11
class
UserInputWidget
extends
\OOUI\TextInputWidget {
12
16
public
function
__construct
( array $config = [] ) {
17
parent::__construct( $config );
18
19
// Initialization
20
$this->addClasses( [
'mw-widget-userInputWidget'
] );
21
}
22
23
protected
function
getJavaScriptClassName
() {
24
return
'mw.widgets.UserInputWidget'
;
25
}
26
27
public
function
getConfig
( &$config ) {
28
$config[
'$overlay'
] =
true
;
29
return
parent::getConfig( $config );
30
}
31
}
MediaWiki\Widget\UserInputWidget
User input widget.
Definition
UserInputWidget.php:11
MediaWiki\Widget\UserInputWidget\getConfig
getConfig(&$config)
Definition
UserInputWidget.php:27
MediaWiki\Widget\UserInputWidget\__construct
__construct(array $config=[])
Definition
UserInputWidget.php:16
MediaWiki\Widget\UserInputWidget\getJavaScriptClassName
getJavaScriptClassName()
Definition
UserInputWidget.php:23
MediaWiki\Widget
Definition
CheckMatrixWidget.php:3
includes
widget
UserInputWidget.php
Generated on Mon Oct 14 2024 07:24:50 for MediaWiki by
1.10.0