MediaWiki
master
HTMLFormFieldLayout.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\HTMLForm
;
4
5
/*
6
* @stable to extend
7
*/
8
class
HTMLFormFieldLayout
extends
\OOUI\FieldLayout {
9
use \MediaWiki\HTMLForm\HTMLFormElement;
10
15
public
function
__construct
( $fieldWidget, array $config = [] ) {
16
parent::__construct( $fieldWidget, $config );
17
18
// Traits
19
$this->
initializeHTMLFormElement
( $config );
20
}
21
22
protected
function
getJavaScriptClassName
() {
23
return
'mw.htmlform.FieldLayout'
;
24
}
25
}
26
28
class_alias( HTMLFormFieldLayout::class,
'HTMLFormFieldLayout'
);
MediaWiki\HTMLForm\HTMLFormFieldLayout
Definition
HTMLFormFieldLayout.php:8
MediaWiki\HTMLForm\HTMLFormFieldLayout\__construct
__construct( $fieldWidget, array $config=[])
Definition
HTMLFormFieldLayout.php:15
MediaWiki\HTMLForm\HTMLFormFieldLayout\getJavaScriptClassName
getJavaScriptClassName()
Definition
HTMLFormFieldLayout.php:22
MediaWiki\HTMLForm
Definition
CodexHTMLForm.php:24
MediaWiki\HTMLForm\initializeHTMLFormElement
initializeHTMLFormElement(array $config=[])
Definition
HTMLFormElement.php:19
includes
htmlform
HTMLFormFieldLayout.php
Generated on Mon Sep 16 2024 13:23:26 for MediaWiki by
1.10.0