Public Member Functions | |
__construct () | |
getDatabaseInfo ($dbName=null) |
Definition at line 27 of file Configuration.php.
__construct | ( | ) |
Read application.xml into a internal array.
Definition at line 47 of file Configuration.php.
getDatabaseInfo | ( | $ | dbName = null ) |
Returns the database info from <DataSource> defined in application.xml as an array. Returned array is a 2D map. (DBName1 => ["Name"], ["Driver"], ["Server"], ["DBName"], ["User"], {"Password"]) (DBName2 => ["Name"], ["Driver"], ["Server"], ["DBName"], ["User"], {"Password"]) (...) If DBName is given, returns the record only related to the given DBName, otherwise returns all records
string | $dbName |
Definition at line 65 of file Configuration.php.