Class Access

Object
   |
   --Database
      |
      --Access
Classes extended from Access:
Location: Program_Root/pdbc/Access.php
Class Access provides a simple interface for connecting to an ODBC datasource (that is, an Access Database File)
 In order to use this class, you must create an ODBC DSN for your database file, which, if you are
 using this class, will probably already be common knowledge for you. If not, try googling for a
 quick tutorial on it, or open your control panel and double click "ODBC Data Sources".

 This class is a little different, in that it will NOT automatically connect to the datasource
 when it is instantiated, instead, there is a seperate method for connection.

 My main reason for doing it this way is two fold:

 1) Should the information passed to the constructor be incorrect, it will not foil the entire
    execution flow of the script, but will allow for easier exception handling.

 2) If you needed to delete the reference to the ODBC/Access datasource before all of the references
    to the object were finished, you would have a more unified way of recreating the connection. If
    the connection mechanism were in the constructor, the only way to reconnect to the database would
    be to reinstatiate the class, which is not always a good idea on the fly, and is never a good idea
    if you are trying to keep objects and memory usage to a minimum.

Class Variable Summary


Inherited Class Variable Summary


Method Summary


Inherited Method Summary

Inherited From Class Database

Inherited From Class Object


Variable Detail


Method Detail