/DataUpdate.phpSome functions and a base class to help with updating records.
This subpackage provides some functions that are useful around single record database activities such as insert and update.
| Class | Description |
|---|---|
DBRecord
|
A Base class to use for records which will be read/written from the database. |
require_once
("AWLUtilities.php")
(line 14)
require_once
("PgQuery.php")
(line 198)
Since we are going to actually read/write from the database.
get_fields (line 28)
Get the names of the fields for a particular table
sql_from_object (line 58)
Build SQL INSERT/UPDATE statement from an associative array of fieldnames => values.
sql_from_post (line 134)
Build SQL INSERT/UPDATE statement from the $_POST associative array
Documentation generated on Tue, 18 Nov 2008 18:08:55 +1300 by phpDocumentor 1.3.2