MediaWiki master
|
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.
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. | |
Abstract class to define pages for the web installer.
Definition at line 33 of file WebInstallerPage.php.
MediaWiki\Installer\WebInstallerPage::__construct | ( | WebInstaller | $parent | ) |
Definition at line 47 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\$parent.
MediaWiki\Installer\WebInstallerPage::addHTML | ( | $html | ) |
string | $html |
Definition at line 65 of file WebInstallerPage.php.
Referenced by MediaWiki\Installer\WebInstallerPage\endForm(), MediaWiki\Installer\WebInstallerPage\endLiveBox(), MediaWiki\Installer\WebInstallerInstall\endStage(), MediaWiki\Installer\WebInstallerComplete\execute(), MediaWiki\Installer\WebInstallerDBConnect\execute(), MediaWiki\Installer\WebInstallerDBSettings\execute(), MediaWiki\Installer\WebInstallerExistingWiki\execute(), MediaWiki\Installer\WebInstallerInstall\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Installer\WebInstallerName\execute(), MediaWiki\Installer\WebInstallerRestart\execute(), MediaWiki\Installer\WebInstallerUpgrade\execute(), MediaWiki\Installer\WebInstallerExistingWiki\showKeyForm(), MediaWiki\Installer\WebInstallerPage\startForm(), MediaWiki\Installer\WebInstallerPage\startLiveBox(), and MediaWiki\Installer\WebInstallerInstall\startStage().
MediaWiki\Installer\WebInstallerPage::endForm | ( | $continue = 'continue', | |
$back = 'back' ) |
string | bool | $continue | |
string | bool | $back |
Definition at line 86 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\addHTML(), MediaWiki\Installer\WebInstallerPage\getId(), and wfMessage().
Referenced by MediaWiki\Installer\WebInstallerComplete\execute(), MediaWiki\Installer\WebInstallerDBConnect\execute(), MediaWiki\Installer\WebInstallerDBSettings\execute(), MediaWiki\Installer\WebInstallerDocument\execute(), MediaWiki\Installer\WebInstallerExistingWiki\execute(), MediaWiki\Installer\WebInstallerInstall\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Installer\WebInstallerName\execute(), MediaWiki\Installer\WebInstallerOptions\execute(), MediaWiki\Installer\WebInstallerRestart\execute(), MediaWiki\Installer\WebInstallerUpgrade\execute(), MediaWiki\Installer\WebInstallerWelcome\execute(), MediaWiki\Installer\WebInstallerUpgrade\showDoneMessage(), and MediaWiki\Installer\WebInstallerExistingWiki\showKeyForm().
|
protected |
Opposite to WebInstallerPage::startLiveBox.
Definition at line 204 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\addHTML().
Referenced by MediaWiki\Installer\WebInstallerInstall\endStage(), and MediaWiki\Installer\WebInstallerUpgrade\execute().
|
abstract |
Reimplemented in 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.
|
protected |
|
protected |
Get the starting tags of a fieldset.
string | $legend | Message name |
Definition at line 173 of file WebInstallerPage.php.
References wfMessage().
|
protected |
Definition at line 144 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\getName().
Referenced by MediaWiki\Installer\WebInstallerPage\endForm().
MediaWiki\Installer\WebInstallerPage::getName | ( | ) |
Definition at line 137 of file WebInstallerPage.php.
Referenced by MediaWiki\Installer\WebInstallerPage\getId().
MediaWiki\Installer\WebInstallerPage::getVar | ( | $var, | |
$default = null ) |
string | $var | |
mixed | null | $default |
Definition at line 154 of file WebInstallerPage.php.
Referenced by MediaWiki\Installer\WebInstallerComplete\execute(), MediaWiki\Installer\WebInstallerDBConnect\execute(), MediaWiki\Installer\WebInstallerDBSettings\execute(), MediaWiki\Installer\WebInstallerExistingWiki\execute(), MediaWiki\Installer\WebInstallerInstall\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Installer\WebInstallerName\execute(), MediaWiki\Installer\WebInstallerOptions\execute(), MediaWiki\Installer\WebInstallerUpgrade\execute(), MediaWiki\Installer\WebInstallerUpgrade\showDoneMessage(), and MediaWiki\Installer\WebInstallerName\submit().
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
Reimplemented in MediaWiki\Installer\WebInstallerInstall, and MediaWiki\Installer\WebInstallerUpgrade.
Definition at line 58 of file WebInstallerPage.php.
MediaWiki\Installer\WebInstallerPage::setVar | ( | $name, | |
$value ) |
string | $name | |
mixed | $value |
Definition at line 162 of file WebInstallerPage.php.
Referenced by MediaWiki\Installer\WebInstallerDBConnect\execute(), MediaWiki\Installer\WebInstallerExistingWiki\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Installer\WebInstallerName\execute(), MediaWiki\Installer\WebInstallerExistingWiki\handleExistingUpgrade(), MediaWiki\Installer\WebInstallerExistingWiki\importVariables(), MediaWiki\Installer\WebInstallerDBConnect\submit(), and MediaWiki\Installer\WebInstallerName\submit().
MediaWiki\Installer\WebInstallerPage::startForm | ( | ) |
Definition at line 69 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\addHTML().
Referenced by MediaWiki\Installer\WebInstallerComplete\execute(), MediaWiki\Installer\WebInstallerDBConnect\execute(), MediaWiki\Installer\WebInstallerDBSettings\execute(), MediaWiki\Installer\WebInstallerDocument\execute(), MediaWiki\Installer\WebInstallerExistingWiki\execute(), MediaWiki\Installer\WebInstallerInstall\execute(), MediaWiki\Installer\WebInstallerLanguage\execute(), MediaWiki\Installer\WebInstallerName\execute(), MediaWiki\Installer\WebInstallerOptions\execute(), MediaWiki\Installer\WebInstallerRestart\execute(), MediaWiki\Installer\WebInstallerUpgrade\execute(), MediaWiki\Installer\WebInstallerWelcome\execute(), MediaWiki\Installer\WebInstallerUpgrade\showDoneMessage(), and MediaWiki\Installer\WebInstallerExistingWiki\showKeyForm().
|
protected |
Opens a textarea used to display the progress of a long operation.
Definition at line 190 of file WebInstallerPage.php.
References MediaWiki\Installer\WebInstallerPage\addHTML().
Referenced by MediaWiki\Installer\WebInstallerUpgrade\execute(), and MediaWiki\Installer\WebInstallerInstall\startStage().
WebInstaller MediaWiki\Installer\WebInstallerPage::$parent |
The WebInstaller object this WebInstallerPage belongs to.
Definition at line 40 of file WebInstallerPage.php.
Referenced by MediaWiki\Installer\WebInstallerPage\__construct().