InstallCommand

Extends\CConsoleCommand

package

Default

Methods

Create database with name?

createDatabase(): void
Throws
\CException

createPermissions

createPermissions()

createUser

createUser( $data)

Arguments

$data

getDBConnectionStringProperty

getDBConnectionStringProperty(string $sProperty,string $connectionString = null): string|null

Arguments

$sProperty

string

$connectionString

string

Response

string|null

output

output(string $msg): void

Arguments

$msg

string

prepareCharset

prepareCharset()

run

run(array $aArguments): integer
Throws
\CException
\Exception

Arguments

$aArguments

array

Response

integer

Set noisy = true if fifth argument is given.

setNoisy(array $args): void

Arguments

$args

array

Properties

If true, output trace.

noisy :boolean
var

Type(s)

boolean

connection

connection :\CDbConnection
var

Type(s)

\CDbConnection