Public Member Functions

Configuration Class Reference

Public Member Functions

 __construct ()
 getDatabaseInfo ($dbName=null)

Detailed Description

Definition at line 27 of file Configuration.php.


Constructor & Destructor Documentation

__construct (  )

Read application.xml into a internal array.

Definition at line 47 of file Configuration.php.

Here is the call graph for this function:


Member Function Documentation

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

Parameters:
string$dbName
Returns:
array database information

Definition at line 65 of file Configuration.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file: