The Sql class is a wrapper for the ADOdb or ADOdb Lite library.
This class loads all SQL queries from SQL_FILE (defined at the top). Several methods are defined that simplify making queries.
Located in /phpfw.php (line 3733)
Constructor for the Sql class
Execute a query on this Sql connection.
Function creates query based on specified query name and parameters. It then executes the query and returns the result. This function is called by the other _query() functions below.
Perform a select query
Function expects the first argument to be the name of the query to execute. Query is loaded from Sql::$queries[$query].
Check if an insert, update or delete succeeded
Perform an insert, update or delete query
Function expects the first argument to be the name of the query to execute. Query is loaded from Sql::$queries[$query].
Set the last argument to "nocheck" if not required to check if the update worked.
Documentation generated on Sat, 23 Jun 2007 21:28:27 -0500 by phpDocumentor 1.3.2