InstallFromConfigCommand
extends CConsoleCommand
in package
Table of Contents
Properties
- $configuration : mixed
- Imported configuration file
- $connection : DbConnection
- $dbConnectionArray : mixed
- $noisy : bool
- If true, output trace.
Methods
- getDBConnectionStringProperty() : string|null
- output() : void
- run() : int
- createDatabase() : void
- Create database with name?
- setNoisy() : void
- Set noisy = true if fifth argument is given.
Properties
$configuration
Imported configuration file
public
mixed
$configuration
= []
$connection
public
DbConnection
$connection
$dbConnectionArray
public
mixed
$dbConnectionArray
= []
$noisy
If true, output trace.
public
bool
$noisy
= \false
Methods
getDBConnectionStringProperty()
public
getDBConnectionStringProperty(string $sProperty[, string $connectionString = null ]) : string|null
Parameters
- $sProperty : string
- $connectionString : string = null
Return values
string|nulloutput()
public
output(string $msg) : void
Parameters
- $msg : string
run()
public
run(array<string|int, mixed> $args) : int
Parameters
- $args : array<string|int, mixed>
Return values
intcreateDatabase()
Create database with name?
protected
createDatabase() : void
setNoisy()
Set noisy = true if fifth argument is given.
protected
setNoisy(array<string|int, mixed> $args) : void
Parameters
- $args : array<string|int, mixed>