DBRecordA Base class to use for records which will be read/written from the database.
Located in /DataUpdate.php (line 184)
| 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 264)
Really numbingly simple construction.
AddTable (line 295)
This will join an additional table to the maintained set
Get (line 395)
Returns a single field from the record
Initialise (line 279)
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
PostToValues (line 307)
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
Read (line 428)
To read the record from the database.
If we don't have any keys then the record will be blank.
Set (line 384)
Sets a single field in the record
Undefine (line 405)
Unsets a single field from the record
Write (line 416)
To write the record to the database
_BuildFieldList (line 336)
Builds a field target list
_BuildJoinClause (line 321)
Builds a table join clause
_BuildWhereClause (line 357)
Builds a where clause to match the supplied keys
Documentation generated on Tue, 06 Oct 2009 09:31:45 -0700 by phpDocumentor 1.3.2