MediaWiki
fundraising/REL1_35
HTMLFormFieldLayout.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* @stable to extend
5
*/
6
class
HTMLFormFieldLayout
extends
OOUI\FieldLayout {
7
use
HTMLFormElement
;
8
9
/*
10
* @stable to call
11
*/
12
public
function
__construct
( $fieldWidget, array $config = [] ) {
13
parent::__construct( $fieldWidget, $config );
14
15
// Traits
16
$this->
initializeHTMLFormElement
( $config );
17
}
18
19
protected
function
getJavaScriptClassName
() {
20
return
'mw.htmlform.FieldLayout'
;
21
}
22
}
initializeHTMLFormElement
initializeHTMLFormElement(array $config=[])
Definition
HTMLFormElement.php:17
HTMLFormElement
trait HTMLFormElement
Allows custom data specific to HTMLFormField to be set for OOUI forms.
Definition
HTMLFormElement.php:12
HTMLFormFieldLayout
Definition
HTMLFormFieldLayout.php:6
HTMLFormFieldLayout\__construct
__construct( $fieldWidget, array $config=[])
Definition
HTMLFormFieldLayout.php:12
HTMLFormFieldLayout\getJavaScriptClassName
getJavaScriptClassName()
Definition
HTMLFormFieldLayout.php:19
includes
htmlform
HTMLFormFieldLayout.php
Generated on Mon Nov 25 2024 16:14:52 for MediaWiki by
1.10.0