Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
Loading...
Searching...
No Matches
MediaWiki\Skins\Vector\Components\VectorComponentLanguageDropdown Class Reference

VectorComponentLanguageButton component. More...

+ Inheritance diagram for MediaWiki\Skins\Vector\Components\VectorComponentLanguageDropdown:
+ Collaboration diagram for MediaWiki\Skins\Vector\Components\VectorComponentLanguageDropdown:

Public Member Functions

 __construct (string $label, string $ariaLabel, string $class, int $numLanguages, string $itemHTML, string $beforePortlet='', string $afterPortlet='', $title=null)
 
 getTemplateData ()
 @inheritDoc
 

Detailed Description

VectorComponentLanguageButton component.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Skins\Vector\Components\VectorComponentLanguageDropdown::__construct ( string $label,
string $ariaLabel,
string $class,
int $numLanguages,
string $itemHTML,
string $beforePortlet = '',
string $afterPortlet = '',
$title = null )
Parameters
string$labelhuman readable
string$ariaLabellabel for accessibility
string$classof the dropdown component
int$numLanguages
string$itemHTMLthe HTML of the list e.g. <li>...</li>
string$beforePortletno known usages. Perhaps can be removed in future
string$afterPortletused by Extension:ULS
Title | null$title

Member Function Documentation

◆ getTemplateData()

MediaWiki\Skins\Vector\Components\VectorComponentLanguageDropdown::getTemplateData ( )

The documentation for this class was generated from the following file: