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

Definition at line 14 of file HTMLFormElement.php.

References null.

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

Variable Documentation

◆ $modules

$modules = null
protected

Definition at line 12 of file HTMLFormElement.php.

Referenced by OutputPage\addModules(), ParserOutput\addModules(), OutputPage\addModuleStyles(), ParserOutput\addModuleStyles(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQuery\execute(), SpecialJavaScriptTest\exportQUnit(), ResourcesTest\getAllModules(), SkinFallback\getDefaultModules(), SkinApi\getDefaultModules(), Skin\getDefaultModules(), ApiHelp\getHelp(), ApiModuleManagerTest\getModuleProvider(), OutputPage\getModules(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), OutputPage\loadSkinModules(), OutputPage\makeResourceLoaderLink(), ResourceLoaderClientHtmlTest\makeSampleModules(), ResourceFileCache\newFromContext(), ResourceLoaderFileModuleTest\providerGetTemplates(), ResourceLoaderFileModuleTest\providerTemplateDependencies(), ForeignResourceManager\run(), EnhancedChangesListTest\testBeginRecentChangesList_jsModules(), ApiQueryTest\testClassNamesInModuleManager(), ApiMainTest\testClassNamesInModuleManager(), ResourceLoaderFileModuleTest\testDeprecatedModules(), ResourceLoaderTest\testExpandModuleNames(), LinkerTest\testGenerateRollback(), SkinTest\testGetDefaultModules(), SkinTemplateTest\testgetDefaultModules(), ApiModuleManagerTest\testGetModule(), ApiModuleManagerTest\testGetModule_null(), 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
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that When $user is not null
Definition: hooks.txt:767

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.