Object
|
--Database
|
--MySQL
Classes extended from MySQL: This is the database layer that will definately see the most use throughout the users of the script. It contains all of the major functions that php has for mysql databases, and should be more than adequate for our needs
pdbc$Revision: 0.5 $ $Date: 2003/03/29 3:39 AM $Japha 1.0
@Ryan Gantt
@void close()
boolean connect()
void fetch_object()
void fetch_row()
int num_rows()
queryId query()
boolean select_db()
void __construct()
void __destruct()
Unset, Unlink, Destroy, Delete (Gets rid of) a MySQL database connection
public
Initiates the connection to a mysql database.
true iff the connection was successful
@
public
DatabaseException::CouldNotConnect if connection is unsuccessful
@
Count the number of result rows generated by a mysql query command
the number of result rows
@
public
DatabaseException::GetNumRows if for some reason the query string is illegal or we can't access mysql_* functions for some reason
@
Run a query command on the database
if the command was legally and successfully executed on the database
@
public
DatabaseException::BadQueryString if the query is unescaped or otherwise unacceptable for database use
@
Selects a MySQL database to work with
true if the database was successfully selected
@
public
DatabaseException::SelectDatabase if the database was unsuccessful in being selected
@
Constructor does nothing but call an existing method to connect.
public
Overrides: Database::__destruct()
Deletes all the member variables that were used in this class
public