MediaWiki REL1_33
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 = [])

Definition at line 14 of file HTMLFormElement.php.

References and().

Referenced by HTMLFormActionFieldLayout\__construct(), and HTMLFormFieldLayout\__construct().

Variable Documentation

◆ $modules

$modules = null
protected

Definition at line 12 of file HTMLFormElement.php.

Referenced by ResourceLoaderContext\__construct(), OutputPage\addModules(), ParserOutput\addModules(), ApiModuleManager\addModules(), OutputPage\addModuleStyles(), ParserOutput\addModuleStyles(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQuery\execute(), ResourceLoaderContext\expandModuleNames(), SpecialJavaScriptTest\exportQUnit(), OutputPage\filterModules(), ResourcesTest\getAllModules(), MessageBlobStore\getBlobs(), Skin\getDefaultModules(), SkinApi\getDefaultModules(), SkinFallback\getDefaultModules(), FancyCaptcha\getFormInformation(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), ResourceLoaderContext\getImageObj(), ApiModuleManagerTest\getModuleProvider(), OutputPage\getModules(), ResourceLoaderContext\getModules(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), OutputPage\loadSkinModules(), ResourceLoader\makeModuleResponse(), OutputPage\makeResourceLoaderLink(), ResourceLoaderClientHtmlTest\makeSampleModules(), ResourceFileCache\newFromContext(), ResourceLoader\preloadModuleInfo(), ResourceLoaderFileModuleTest\providerGetTemplates(), ResourceLoaderFileModuleTest\providerTemplateDependencies(), ResourceLoader\respond(), ForeignResourceManager\run(), ApiModuleManagerTest\testAddModules(), EnhancedChangesListTest\testBeginRecentChangesList_jsModules(), ApiMainTest\testClassNamesInModuleManager(), ApiQueryTest\testClassNamesInModuleManager(), ResourceLoaderFileModuleTest\testDeprecatedModules(), ResourceLoaderTest\testExpandModuleNames(), LinkerTest\testGenerateRollback(), 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.