MediaWiki  1.27.2
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...
 
- Public Member Functions inherited from WebInstallerPage
 __construct (WebInstaller $parent)
 
 addHTML ($html)
 
 endForm ($continue= 'continue', $back= 'back')
 
 execute ()
 
 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(). More...
 
 setVar ($name, $value)
 
 startForm ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file WebInstallerLanguage.php.

Member Function Documentation

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, $wgDummyLanguageCodes, as, Language\fetchLanguageNames(), and global.

Referenced by execute().


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