MediaWiki  1.28.0
HTMLFormElement.php File Reference

Go to the source code of this file.

Classes

class  HTMLFormActionFieldLayout
 
class  HTMLFormFieldLayout
 

Functions

 initializeHTMLFormElement (array $config=[])
 

Variables

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

Function Documentation

initializeHTMLFormElement ( array  $config = [])

Variable Documentation

trait HTMLFormElement
Initial value:
{
protected $hideIf = null

Allows custom data specific to HTMLFormField to be set for OOjs UI 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.

Definition at line 9 of file HTMLFormElement.php.