MediaWiki REL1_39
InstallerOverrides Class Reference

Static Public Member Functions

static getCliInstaller ( $siteName, $admin=null, array $options=[])
 Instantiates and returns an instance of CliInstaller or its descendant classes.
 
static getLocalSettingsGenerator (Installer $installer)
 Instantiates and returns an instance of LocalSettingsGenerator or its descendant classes.
 
static getWebInstaller (WebRequest $request)
 Instantiates and returns an instance of WebInstaller or its descendant classes.
 

Detailed Description

Since
1.20

Definition at line 26 of file InstallerOverrides.php.

Member Function Documentation

◆ getCliInstaller()

static InstallerOverrides::getCliInstaller ( $siteName,
$admin = null,
array $options = [] )
static

Instantiates and returns an instance of CliInstaller or its descendant classes.

Parameters
string$siteName
string | null$admin
array$options
Returns
CliInstaller

Definition at line 71 of file InstallerOverrides.php.

Referenced by CommandLineInstaller\execute().

◆ getLocalSettingsGenerator()

static InstallerOverrides::getLocalSettingsGenerator ( Installer $installer)
static

Instantiates and returns an instance of LocalSettingsGenerator or its descendant classes.

Parameters
Installer$installer
Returns
LocalSettingsGenerator

Definition at line 49 of file InstallerOverrides.php.

Referenced by CliInstaller\writeConfigurationFile().

◆ getWebInstaller()

static InstallerOverrides::getWebInstaller ( WebRequest $request)
static

Instantiates and returns an instance of WebInstaller or its descendant classes.

Parameters
WebRequest$request
Returns
WebInstaller

Definition at line 59 of file InstallerOverrides.php.

Referenced by wfInstallerMain().


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