LimeSurvey API - Master branch

InstallCommand extends CConsoleCommand
in package

Table of Contents

Properties

$connection  : CDbConnection
$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.
createPermissions()  : mixed
createUser()  : mixed
prepareCharset()  : mixed

Properties

Methods

getDBConnectionStringProperty()

public getDBConnectionStringProperty(string $sProperty[, string $connectionString = null ]) : string|null
Parameters
$sProperty : string
$connectionString : string = null
Return values
string|null

output()

public output(string $msg) : void
Parameters
$msg : string

run()

public run(array<string|int, mixed> $args) : int
Parameters
$args : array<string|int, mixed>
Tags
throws
CException
throws
Exception
Return values
int

createDatabase()

Create database with name?

protected createDatabase() : void
Tags
throws
CException

setNoisy()

Set noisy = true if fifth argument is given.

protected setNoisy(array<string|int, mixed> $args) : void
Parameters
$args : array<string|int, mixed>

createUser()

private createUser(mixed $data) : mixed
Parameters
$data : mixed

        
On this page

Search results