|
MediaWiki master
|
Inherits MediaWiki\Installer\DatabaseCreator.

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 |
Definition at line 11 of file SqliteDatabaseCreator.php.
|
protected |
Reimplemented from MediaWiki\Installer\DatabaseCreator.
Definition at line 15 of file SqliteDatabaseCreator.php.
References MediaWiki\Installer\DatabaseCreator\$context, MediaWiki\Installer\Task\ITaskContext\getConfigVar(), and MediaWiki\MainConfigNames\SQLiteDataDir.
| MediaWiki\Installer\SqliteDatabaseCreator::createInLoadBalancer | ( | ILoadBalancer | $loadBalancer, |
| $database ) |
Create a database in the specified LoadBalancer which may be for an external cluster.
| ILoadBalancer | $loadBalancer | |
| string | $database |
Reimplemented from MediaWiki\Installer\DatabaseCreator.
Definition at line 37 of file SqliteDatabaseCreator.php.
| MediaWiki\Installer\SqliteDatabaseCreator::createLocally | ( | $database | ) |
Create a database in the local cluster or install context.
| string | $database |
Reimplemented from MediaWiki\Installer\DatabaseCreator.
Definition at line 32 of file SqliteDatabaseCreator.php.
| MediaWiki\Installer\SqliteDatabaseCreator::existsInLoadBalancer | ( | ILoadBalancer | $loadBalancer, |
| $database ) |
Check if a database exists in the specified LoadBalancer which may be for an external cluster.
| ILoadBalancer | $loadBalancer | |
| string | $database |
Reimplemented from MediaWiki\Installer\DatabaseCreator.
Definition at line 27 of file SqliteDatabaseCreator.php.
References MediaWiki\Installer\SqliteDatabaseCreator\existsLocally().
| MediaWiki\Installer\SqliteDatabaseCreator::existsLocally | ( | $database | ) |
Check if a database exists on the local cluster or context.
| string | $database |
Reimplemented from MediaWiki\Installer\DatabaseCreator.
Definition at line 21 of file SqliteDatabaseCreator.php.
Referenced by MediaWiki\Installer\SqliteDatabaseCreator\existsInLoadBalancer().