MediaWiki REL1_34
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.
 
- Public Member Functions inherited from 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 WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to.
 
- Protected Member Functions inherited from 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 22 of file WebInstallerLanguage.php.

Member Function Documentation

◆ execute()

◆ 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 $lang, and $languages.

Referenced by execute().


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