MediaWiki master
WebInstallerPage Class Reference

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

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

Collaboration diagram for 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 32 of file WebInstallerPage.php.

Constructor & Destructor Documentation

◆ __construct()

WebInstallerPage::__construct ( WebInstaller  $parent)
Parameters
WebInstaller$parent

Definition at line 49 of file WebInstallerPage.php.

References $parent.

Member Function Documentation

◆ addHTML()

◆ endForm()

◆ endLiveBox()

WebInstallerPage::endLiveBox ( )
protected

◆ execute()

◆ getFieldsetEnd()

WebInstallerPage::getFieldsetEnd ( )
protected

Get the end tag of a fieldset.

Returns
string

Definition at line 182 of file WebInstallerPage.php.

◆ getFieldsetStart()

WebInstallerPage::getFieldsetStart (   $legend)
protected

Get the starting tags of a fieldset.

Parameters
string$legendMessage name
Returns
string

Definition at line 173 of file WebInstallerPage.php.

References wfMessage().

◆ getId()

WebInstallerPage::getId ( )
protected
Returns
string

Definition at line 144 of file WebInstallerPage.php.

References getName().

Referenced by endForm().

◆ getName()

WebInstallerPage::getName ( )
Returns
string

Definition at line 137 of file WebInstallerPage.php.

Referenced by getId().

◆ getVar()

◆ isSlow()

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 WebInstallerInstall, and WebInstallerUpgrade.

Definition at line 60 of file WebInstallerPage.php.

◆ setVar()

◆ startForm()

◆ startLiveBox()

WebInstallerPage::startLiveBox ( )
protected

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

Definition at line 189 of file WebInstallerPage.php.

References addHTML().

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

Member Data Documentation

◆ $parent

WebInstaller WebInstallerPage::$parent

The WebInstaller object this WebInstallerPage belongs to.

Definition at line 39 of file WebInstallerPage.php.

Referenced by __construct().


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