MediaWiki master
MediaWiki\Installer\WebInstallerLanguage Class Reference

Inherits MediaWiki\Installer\WebInstallerPage.

Collaboration diagram for MediaWiki\Installer\WebInstallerLanguage:

Public Member Functions

 execute ()
 
 getLanguageSelector ( $name, $label, $selectedCode, $helpHtml='')
 Get a "<select>" for selecting languages.
 
- Public Member Functions inherited from MediaWiki\Installer\WebInstallerPage
 __construct (WebInstaller $parent)
 
 addHTML ( $html)
 
 endForm ( $continue='continue', $back='back')
 
 getName ()
 
 getVar ( $var, $default=null)
 
 isSlow ()
 Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calling execute().
 
 setVar ( $name, $value)
 
 startForm ()
 

Additional Inherited Members

- Public Attributes inherited from MediaWiki\Installer\WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to.
 
- Protected Member Functions inherited from MediaWiki\Installer\WebInstallerPage
 endLiveBox ()
 Opposite to WebInstallerPage::startLiveBox.
 
 getFieldsetEnd ()
 Get the end tag of a fieldset.
 
 getFieldsetStart ( $legend)
 Get the starting tags of a fieldset.
 
 getId ()
 
 startLiveBox ()
 Opens a textarea used to display the progress of a long operation.
 

Detailed Description

Definition at line 30 of file WebInstallerLanguage.php.

Member Function Documentation

◆ execute()

◆ getLanguageSelector()

MediaWiki\Installer\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 110 of file WebInstallerLanguage.php.

References MediaWiki\MediaWikiServices\getInstance().

Referenced by MediaWiki\Installer\WebInstallerLanguage\execute().


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