The Database class contains information about the specified database
Uses the Table class.
Located in /phpfw.php (line 3497)
Constructor for the Database class
Check the schema of the database and make relevant associations.
This function does the following:
Get the schema for this database
Returns a Table object by its name
Load the schema into the database
This function executes the SQL commands in a file specified in the configuration file under the section 'schema'.
Section 'schema' should contain load = true and path = the location of the schema files.
The SQL file loaded from the above path is constructed based on the database type specified under section 'database'.
E.g. For mysql, schema is loaded from - mysql_schema.sql For sqlite, schema is loaded from - sqlite_schema.sql
Documentation generated on Sat, 23 Jun 2007 21:28:26 -0500 by phpDocumentor 1.3.2