MediaWiki  1.34.4
HTMLFormElement.php File Reference

Go to the source code of this file.

Functions

 initializeHTMLFormElement (array $config=[])
 

Variables

 $modules = null
 
trait HTMLFormElement
 Allows custom data specific to HTMLFormField to be set for OOUI forms. More...
 

Function Documentation

◆ initializeHTMLFormElement()

initializeHTMLFormElement ( array  $config = [])

Variable Documentation

◆ $modules

◆ HTMLFormElement

trait HTMLFormElement
Initial value:
{
protected $hideIf = null

Allows custom data specific to HTMLFormField to be set for OOUI forms.

A matching JS widget (defined in htmlform.Element.js) picks up the extra config when constructed using OO.ui.infuse().

Currently only supports passing 'hide-if' data. -file-suppress PhanUndeclaredMethod

Definition at line 10 of file HTMLFormElement.php.