MediaWiki REL1_32
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 OOUI forms.
 

Function Documentation

◆ initializeHTMLFormElement()

initializeHTMLFormElement ( array  $config = [])

Variable Documentation

◆ $modules

$modules = null
protected

Definition at line 12 of file HTMLFormElement.php.

Referenced by OutputPage\addModules(), ParserOutput\addModules(), ApiModuleManager\addModules(), OutputPage\addModuleScripts(), ParserOutput\addModuleScripts(), OutputPage\addModuleStyles(), ParserOutput\addModuleStyles(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQuery\execute(), ManageForeignResources\execute(), SpecialJavaScriptTest\exportQUnit(), OutputPage\filterModules(), ResourcesTest\getAllModules(), MessageBlobStore\getBlobs(), Skin\getDefaultModules(), SkinApi\getDefaultModules(), SkinFallback\getDefaultModules(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), ApiModuleManagerTest\getModuleProvider(), OutputPage\getModules(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), OutputPage\loadSkinModules(), ResourceLoader\makeModuleResponse(), OutputPage\makeResourceLoaderLink(), ResourceLoaderClientHtmlTest\makeSampleModules(), ResourceFileCache\newFromContext(), ResourceLoaderFileModuleTest\providerGetTemplates(), ResourceLoaderFileModuleTest\providerTemplateDependencies(), ResourceLoader\respond(), ApiModuleManagerTest\testAddModules(), EnhancedChangesListTest\testBeginRecentChangesList_jsModules(), ApiMainTest\testClassNamesInModuleManager(), ApiQueryTest\testClassNamesInModuleManager(), ResourceLoaderFileModuleTest\testDeprecatedModules(), ResourceLoaderTest\testExpandModuleNames(), SkinTemplateTest\testgetDefaultModules(), SkinTest\testGetDefaultModules(), ApiModuleManagerTest\testGetModule(), ApiModuleManagerTest\testGetModule_null(), ResourceLoaderClientHtmlTest\testMakeLoad(), ResourceLoaderTest\testMakeModuleResponseConcat(), ResourceLoaderTest\testMakeModuleResponseError(), ResourceLoaderTest\testMakeModuleResponseErrorCSS(), ResourceLoaderTest\testMakeModuleResponseExtraHeaders(), ResourceLoaderTest\testMakeModuleResponseExtraHeadersMulti(), ResourceLoaderTest\testMakeModuleResponseStartupError(), ResourceLoaderTest\testMakePackedModulesString(), ApiPrefixUniquenessTest\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 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.

Definition at line 9 of file HTMLFormElement.php.