DBRecordA Base class to use for records which will be read/written from the database.
Located in /DataUpdate.php (line 204)
| Class | Description |
|---|---|
User
|
A class to handle reading, writing, viewing, editing and validating usr records. |
void
AddTable
(string $table, $target_list, $join_clause, $and_where, array $keys, string $join, string $prefix)
Constructor DBRecord (line 284)
Really numbingly simple construction.
AddTable (line 315)
This will join an additional table to the maintained set
Get (line 415)
Returns a single field from the record
Initialise (line 299)
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
PostToValues (line 327)
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
Read (line 448)
To read the record from the database.
If we don't have any keys then the record will be blank.
Set (line 404)
Sets a single field in the record
Undefine (line 425)
Unsets a single field from the record
Write (line 436)
To write the record to the database
_BuildFieldList (line 356)
Builds a field target list
_BuildJoinClause (line 341)
Builds a table join clause
_BuildWhereClause (line 377)
Builds a where clause to match the supplied keys
Documentation generated on Tue, 18 Nov 2008 18:08:55 +1300 by phpDocumentor 1.3.2