This class is a wrapper the PEAR Database package to provide an alternative API for accessing databases.
One of the features that this class provides is a way to connect to databases using a function that, instead of a connection string, it takes the connection parameters in a single array that is passed as parameter of the connection function.
This class provides an alternative interface to the autoinsert and autoupdate functions by the means of functions that set the table name, the table fields and the query where condition. There values may also be specified by the means of global variables.
The class also provides functions to call other PEAR-DB API functions directly with the original functionality. |