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

Public Attributes

WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to. More...
 

Protected Member Functions

 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

Abstract class to define pages for the web installer.

Since
1.17

Definition at line 30 of file WebInstallerPage.php.

Constructor & Destructor Documentation

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

Definition at line 47 of file WebInstallerPage.php.

References $parent.

Member Function Documentation

WebInstallerPage::endLiveBox ( )
protected
WebInstallerPage::execute ( )
abstract
Returns
string
WebInstallerPage::getFieldsetEnd ( )
protected

Get the end tag of a fieldset.

Returns
string

Definition at line 180 of file WebInstallerPage.php.

Referenced by WebInstallerName\execute(), and WebInstallerOptions\execute().

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 WebInstallerName\execute(), and WebInstallerOptions\execute().

WebInstallerPage::getId ( )
protected
Returns
string

Definition at line 142 of file WebInstallerPage.php.

References getName().

Referenced by endForm().

WebInstallerPage::getName ( )
Returns
string

Definition at line 135 of file WebInstallerPage.php.

Referenced by getId().

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.

Definition at line 58 of file WebInstallerPage.php.

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

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: