MediaWiki REL1_28
WebInstallerPage Class Reference

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

Inheritance diagram for WebInstallerPage:
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 30 of file WebInstallerPage.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 47 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 180 of file WebInstallerPage.php.

Referenced by WebInstallerOptions\execute().

◆ getFieldsetStart()

WebInstallerPage::getFieldsetStart (   $legend)
protected

Get the starting tags of a fieldset.

Parameters
string$legendMessage name
Returns
string

Definition at line 171 of file WebInstallerPage.php.

References wfMessage().

Referenced by WebInstallerOptions\execute().

◆ getId()

WebInstallerPage::getId ( )
protected
Returns
string

Definition at line 142 of file WebInstallerPage.php.

References getName().

Referenced by endForm().

◆ getName()

WebInstallerPage::getName ( )
Returns
string

Definition at line 135 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 58 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 187 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 37 of file WebInstallerPage.php.

Referenced by __construct().


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