MediaWiki  1.32.5
WebInstallerLanguage Class Reference
Inheritance diagram for WebInstallerLanguage:
Collaboration diagram for WebInstallerLanguage:

Public Member Functions

 execute ()
 
 getLanguageSelector ( $name, $label, $selectedCode, $helpHtml='')
 Get a "<select>" for selecting languages. More...
 

Detailed Description

Definition at line 22 of file WebInstallerLanguage.php.

Member Function Documentation

◆ execute()

WebInstallerLanguage::execute ( )
Returns
string|null

Definition at line 27 of file WebInstallerLanguage.php.

References $languages, $s, $wgLang, Language\fetchLanguageNames(), getLanguageSelector(), and Html\hidden().

◆ getLanguageSelector()

WebInstallerLanguage::getLanguageSelector (   $name,
  $label,
  $selectedCode,
  $helpHtml = '' 
)

Get a "<select>" for selecting languages.

Parameters
string$name
string$label
string$selectedCode
string$helpHtml
Returns
string

Definition at line 100 of file WebInstallerLanguage.php.

References $code, $lang, $languages, $name, $output, as, and Language\fetchLanguageNames().

Referenced by execute().


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