\ManiaControl\DatabaseConfig

Model Class holding the Database Config

Summary

Methods
Properties
Constants
__construct()
validate()
$host
$port
$user
$pass
$name
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$host

$host : 

Type

$port

$port : 

Type

$user

$user : 

Type

$pass

$pass : 

Type

$name

$name : 

Type

Methods

__construct()

__construct(string  $host = null, string  $port = null, string  $user = null, string  $pass = null, string  $name = null) 

Create a new Database Config Instance

Parameters

string $host
string $port
string $user
string $pass
string $name

validate()

validate() : boolean

Validate the Config Data

Returns

boolean