DBRecordA Base class to use for records which will be read/written from the database.
Located in /DataUpdate.php (line 121)
| 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 201)
Really numbingly simple construction.
AddTable (line 232)
This will join an additional table to the maintained set
Get (line 332)
Returns a single field from the record
Initialise (line 216)
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
PostToValues (line 244)
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
Read (line 366)
To read the record from the database.
If we don't have any keys then the record will be blank.
Set (line 321)
Sets a single field in the record
Undefine (line 342)
Unsets a single field from the record
Write (line 354)
To write the record to the database
_BuildFieldList (line 273)
Builds a field target list
_BuildJoinClause (line 258)
Builds a table join clause
_BuildWhereClause (line 294)
Builds a where clause to match the supplied keys
Documentation generated on Fri, 13 Jan 2012 23:40:15 +1300 by phpDocumentor 1.4.3