DatabaseResource

Filepath: phork/php/database/DatabaseResource.class.php

The DatabaseResource class stores the database connection variables, a flag to determine if the connection is open, and the database resource/object returned from the connection function. By default there's a read and write resource, as well as any others that have been defined in the database configuration. The resource objects are instantiated in the DatabaseFactory and stored in the MySql (or equivalent) object.