DBRecordA Base class to use for records which will be read/written from the database.
Located in /DataUpdate.php (line 120)
| 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 200)
Really numbingly simple construction.
AddTable (line 231)
This will join an additional table to the maintained set
Get (line 331)
Returns a single field from the record
Initialise (line 215)
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
PostToValues (line 243)
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
Read (line 365)
To read the record from the database.
If we don't have any keys then the record will be blank.
Set (line 320)
Sets a single field in the record
Undefine (line 341)
Unsets a single field from the record
Write (line 353)
To write the record to the database
_BuildFieldList (line 272)
Builds a field target list
_BuildJoinClause (line 257)
Builds a table join clause
_BuildWhereClause (line 293)
Builds a where clause to match the supplied keys
Documentation generated on Mon, 20 Sep 2010 12:52:18 +1200 by phpDocumentor 1.4.3