MediaWiki  master
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. More...
 
static getLocalSettingsGenerator (Installer $installer)
 Instantiates and returns an instance of LocalSettingsGenerator or its descendant classes. More...
 
static getWebInstaller (WebRequest $request)
 Instantiates and returns an instance of WebInstaller or its descendant classes. More...
 

Static Private Member Functions

static getOverrides ()
 

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 72 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 50 of file InstallerOverrides.php.

Referenced by WebInstaller\outputLS(), and CliInstaller\writeConfigurationFile().

◆ getOverrides()

static InstallerOverrides::getOverrides ( )
staticprivate

Definition at line 27 of file InstallerOverrides.php.

References $file, and $IP.

◆ 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 60 of file InstallerOverrides.php.

Referenced by wfInstallerMain().


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