MediaWiki  1.30.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()

initializeHTMLFormElement ( array  $config = [])

Variable Documentation

◆ $modules

$modules = null
protected

Definition at line 12 of file HTMLFormElement.php.

Referenced by ApiModuleManager\addModules(), OutputPage\addModules(), ParserOutput\addModules(), OutputPage\addModuleScripts(), ParserOutput\addModuleScripts(), OutputPage\addModuleStyles(), ParserOutput\addModuleStyles(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQuery\execute(), SpecialJavaScriptTest\exportQUnit(), OutputPage\filterModules(), ResourcesTest\getAllModules(), MessageBlobStore\getBlobs(), Skin\getDefaultModules(), FancyCaptcha\getFormInformation(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), ApiModuleManagerTest\getModuleProvider(), OutputPage\getModules(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), OutputPage\makeResourceLoaderLink(), ResourceFileCache\newFromContext(), ResourceLoaderFileModuleTest\providerGetTemplates(), ResourceLoaderFileModuleTest\providerTemplateDependencies(), ApiModuleManagerTest\testAddModules(), EnhancedChangesListTest\testBeginRecentChangesList_jsModules(), ApiMainTest\testClassNamesInModuleManager(), ApiQueryTest\testClassNamesInModuleManager(), ResourceLoaderFileModuleTest\testDeprecatedModules(), ResourceLoaderTest\testExpandModuleNames(), ApiModuleManagerTest\testGetModule(), ApiModuleManagerTest\testGetModule_null(), ResourceLoaderTest\testMakeModuleResponseConcat(), ResourceLoaderTest\testMakeModuleResponseError(), ResourceLoaderTest\testMakeModuleResponseExtraHeaders(), ResourceLoaderTest\testMakeModuleResponseExtraHeadersMulti(), ResourceLoaderTest\testMakeModuleResponseStartupError(), ResourceLoaderTest\testMakePackedModulesString(), PrefixUniquenessTest\testPrefixes(), ResourceLoaderStartUpModuleTest\testRegistrationsMinified(), ResourceLoaderStartUpModuleTest\testRegistrationsUnminified(), and TraditionalImageGallery\toHTML().

◆ HTMLFormElement

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.