MediaWiki REL1_30
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.
 

Function Documentation

◆ initializeHTMLFormElement()

initializeHTMLFormElement ( array $config = [])

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\addModuleScripts(), ParserOutput\addModuleScripts(), OutputPage\addModuleStyles(), ParserOutput\addModuleStyles(), ApiHelp\execute(), ApiParamInfo\execute(), ApiQuery\execute(), ResourceLoaderContext\expandModuleNames(), SpecialJavaScriptTest\exportQUnit(), OutputPage\filterModules(), ResourcesTest\getAllModules(), MessageBlobStore\getBlobs(), Skin\getDefaultModules(), FancyCaptcha\getFormInformation(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), ResourceLoaderContext\getImageObj(), ApiModuleManagerTest\getModuleProvider(), OutputPage\getModules(), ResourceLoaderContext\getModules(), ApiQuery\instantiateModules(), ApiQuery\isReadMode(), 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(), ApiModuleManagerTest\testGetModule(), ApiModuleManagerTest\testGetModule_null(), ResourceLoaderClientHtmlTest\testMakeLoad(), 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.