MediaWiki master
|
Inherits MediaWiki\Installer\DatabaseConnectForm.
Public Member Functions | |
getHtml () | |
submit () | |
Set variables based on the request array, assuming it was submitted via the form returned by getConnectForm(). | |
Public Member Functions inherited from MediaWiki\Installer\DatabaseForm | |
__construct (WebInstaller $webInstaller, DatabaseInstaller $dbInstaller) | |
Additional Inherited Members | |
Protected Member Functions inherited from MediaWiki\Installer\DatabaseConnectForm | |
getInstallUserBox () | |
Get a standard install-user fieldset. | |
submitInstallUserBox () | |
Submit a standard install user fieldset. | |
Protected Member Functions inherited from MediaWiki\Installer\DatabaseForm | |
getCheckBox ( $var, $label, $attribs=[], $helpData="") | |
Get a labelled checkbox to configure a local boolean variable. | |
getName () | |
Return the internal name, e.g. | |
getPasswordBox ( $var, $label, $attribs=[], $helpData="") | |
Get a labelled password box to configure a local variable. | |
getRadioSet ( $params) | |
Get a set of labelled radio buttons. | |
getTextBox ( $var, $label, $attribs=[], $helpData="") | |
Get a labelled text box to configure a local variable. | |
getVar ( $var, $default=null) | |
Get a variable, taking local defaults into account. | |
setVar ( $name, $value) | |
Set a variable. | |
setVarsFromRequest ( $varNames) | |
Convenience function to set variables based on form data. | |
Protected Attributes inherited from MediaWiki\Installer\DatabaseForm | |
DatabaseInstaller | $dbInstaller |
WebInstaller | $webInstaller |
Definition at line 11 of file MysqlConnectForm.php.
MediaWiki\Installer\MysqlConnectForm::getHtml | ( | ) |
Reimplemented from MediaWiki\Installer\DatabaseConnectForm.
Definition at line 15 of file MysqlConnectForm.php.
References MediaWiki\Html\element(), MediaWiki\Installer\DatabaseForm\getCheckBox(), MediaWiki\Installer\DatabaseConnectForm\getInstallUserBox(), MediaWiki\Installer\DatabaseForm\getTextBox(), and wfMessage().
MediaWiki\Installer\MysqlConnectForm::submit | ( | ) |
Set variables based on the request array, assuming it was submitted via the form returned by getConnectForm().
Validate the connection settings by attempting to connect with them.
If this is called, $this->parent can be assumed to be a WebInstaller.
Reimplemented from MediaWiki\Installer\DatabaseConnectForm.
Definition at line 38 of file MysqlConnectForm.php.
References MediaWiki\Installer\Task\ITaskContext\CONN_CREATE_DATABASE, MediaWiki\Installer\MysqlInstaller\meetsMinimumRequirement(), MediaWiki\Installer\DatabaseForm\setVarsFromRequest(), and MediaWiki\Installer\DatabaseConnectForm\submitInstallUserBox().