MediaWiki master
MediaWiki\Installer\SqliteDatabaseCreator Class Reference

Inherits MediaWiki\Installer\DatabaseCreator.

Collaboration diagram for MediaWiki\Installer\SqliteDatabaseCreator:

Public Member Functions

 createInLoadBalancer (ILoadBalancer $loadBalancer, $database)
 Create a database in the specified LoadBalancer which may be for an external cluster.
 
 createLocally ( $database)
 Create a database in the local cluster or install context.
 
 existsInLoadBalancer (ILoadBalancer $loadBalancer, $database)
 Check if a database exists in the specified LoadBalancer which may be for an external cluster.
 
 existsLocally ( $database)
 Check if a database exists on the local cluster or context.
 

Protected Member Functions

 __construct (ITaskContext $context)
 

Additional Inherited Members

- Static Public Member Functions inherited from MediaWiki\Installer\DatabaseCreator
static createInstance (ITaskContext $context)
 
- Protected Attributes inherited from MediaWiki\Installer\DatabaseCreator
ITaskContext $context
 

Detailed Description

Definition at line 11 of file SqliteDatabaseCreator.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Installer\SqliteDatabaseCreator::__construct ( ITaskContext $context)
protected

Member Function Documentation

◆ createInLoadBalancer()

MediaWiki\Installer\SqliteDatabaseCreator::createInLoadBalancer ( ILoadBalancer $loadBalancer,
$database )

Create a database in the specified LoadBalancer which may be for an external cluster.

Parameters
ILoadBalancer$loadBalancer
string$database
Returns
Status

Reimplemented from MediaWiki\Installer\DatabaseCreator.

Definition at line 33 of file SqliteDatabaseCreator.php.

◆ createLocally()

MediaWiki\Installer\SqliteDatabaseCreator::createLocally ( $database)

Create a database in the local cluster or install context.

Parameters
string$database
Returns
Status

Reimplemented from MediaWiki\Installer\DatabaseCreator.

Definition at line 29 of file SqliteDatabaseCreator.php.

◆ existsInLoadBalancer()

MediaWiki\Installer\SqliteDatabaseCreator::existsInLoadBalancer ( ILoadBalancer $loadBalancer,
$database )

Check if a database exists in the specified LoadBalancer which may be for an external cluster.

Parameters
ILoadBalancer$loadBalancer
string$database
Returns
bool

Reimplemented from MediaWiki\Installer\DatabaseCreator.

Definition at line 25 of file SqliteDatabaseCreator.php.

References MediaWiki\Installer\SqliteDatabaseCreator\existsLocally().

◆ existsLocally()

MediaWiki\Installer\SqliteDatabaseCreator::existsLocally ( $database)

Check if a database exists on the local cluster or context.

Parameters
string$database
Returns
bool

Reimplemented from MediaWiki\Installer\DatabaseCreator.

Definition at line 20 of file SqliteDatabaseCreator.php.

Referenced by MediaWiki\Installer\SqliteDatabaseCreator\existsInLoadBalancer().


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