MediaWiki
REL1_34
HTMLFormFieldLayout.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLFormFieldLayout
extends
OOUI\FieldLayout {
4
use
HTMLFormElement
;
5
6
public
function
__construct
( $fieldWidget, array $config = [] ) {
7
parent::__construct( $fieldWidget, $config );
8
9
// Traits
10
$this->
initializeHTMLFormElement
( $config );
11
}
12
13
protected
function
getJavaScriptClassName
() {
14
return
'mw.htmlform.FieldLayout'
;
15
}
16
}
initializeHTMLFormElement
initializeHTMLFormElement(array $config=[])
Definition
HTMLFormElement.php:15
HTMLFormElement
trait HTMLFormElement
Allows custom data specific to HTMLFormField to be set for OOUI forms.
Definition
HTMLFormElement.php:10
HTMLFormFieldLayout
Definition
HTMLFormFieldLayout.php:3
HTMLFormFieldLayout\__construct
__construct( $fieldWidget, array $config=[])
Definition
HTMLFormFieldLayout.php:6
HTMLFormFieldLayout\getJavaScriptClassName
getJavaScriptClassName()
Definition
HTMLFormFieldLayout.php:13
includes
htmlform
HTMLFormFieldLayout.php
Generated on Fri Apr 5 2024 23:09:58 for MediaWiki by
1.9.8