MediaWiki master
MediaWiki\Installer\WebInstallerPage Class Reference

Abstract class to define pages for the web installer. More...

Inherited by MediaWiki\Installer\WebInstallerComplete, MediaWiki\Installer\WebInstallerDBConnect, MediaWiki\Installer\WebInstallerDBSettings, MediaWiki\Installer\WebInstallerDocument, MediaWiki\Installer\WebInstallerExistingWiki, MediaWiki\Installer\WebInstallerInstall, MediaWiki\Installer\WebInstallerLanguage, MediaWiki\Installer\WebInstallerName, MediaWiki\Installer\WebInstallerOptions, MediaWiki\Installer\WebInstallerRestart, MediaWiki\Installer\WebInstallerUpgrade, and MediaWiki\Installer\WebInstallerWelcome.

Collaboration diagram for MediaWiki\Installer\WebInstallerPage:

Public Member Functions

 __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().
 
 setVar ( $name, $value)
 
 startForm ()
 

Public Attributes

WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to.
 

Protected Member Functions

 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

Abstract class to define pages for the web installer.

Since
1.17

Definition at line 34 of file WebInstallerPage.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Installer\WebInstallerPage::__construct ( WebInstaller $parent)
Parameters
WebInstaller$parent

Definition at line 51 of file WebInstallerPage.php.

References MediaWiki\Installer\WebInstallerPage\$parent.

Member Function Documentation

◆ addHTML()

◆ endForm()

◆ endLiveBox()

MediaWiki\Installer\WebInstallerPage::endLiveBox ( )
protected

◆ execute()

◆ getFieldsetEnd()

MediaWiki\Installer\WebInstallerPage::getFieldsetEnd ( )
protected

Get the end tag of a fieldset.

Returns
string

Definition at line 187 of file WebInstallerPage.php.

◆ getFieldsetStart()

MediaWiki\Installer\WebInstallerPage::getFieldsetStart ( $legend)
protected

Get the starting tags of a fieldset.

Parameters
string$legendMessage name
Returns
string

Definition at line 177 of file WebInstallerPage.php.

References wfMessage().

◆ getId()

MediaWiki\Installer\WebInstallerPage::getId ( )
protected

◆ getName()

MediaWiki\Installer\WebInstallerPage::getName ( )
Returns
string

Definition at line 141 of file WebInstallerPage.php.

Referenced by MediaWiki\Installer\WebInstallerPage\getId().

◆ getVar()

◆ isSlow()

MediaWiki\Installer\WebInstallerPage::isSlow ( )

Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calling execute().

Right now this only applies to Install and Upgrade pages

Returns
bool Always false in this default implementation.

Reimplemented in MediaWiki\Installer\WebInstallerInstall, and MediaWiki\Installer\WebInstallerUpgrade.

Definition at line 62 of file WebInstallerPage.php.

◆ setVar()

◆ startForm()

◆ startLiveBox()

MediaWiki\Installer\WebInstallerPage::startLiveBox ( )
protected

Opens a textarea used to display the progress of a long operation.

Definition at line 194 of file WebInstallerPage.php.

References MediaWiki\Installer\WebInstallerPage\addHTML().

Referenced by MediaWiki\Installer\WebInstallerUpgrade\execute(), and MediaWiki\Installer\WebInstallerInstall\startStage().

Member Data Documentation

◆ $parent

WebInstaller MediaWiki\Installer\WebInstallerPage::$parent

The WebInstaller object this WebInstallerPage belongs to.

Definition at line 41 of file WebInstallerPage.php.

Referenced by MediaWiki\Installer\WebInstallerPage\__construct().


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