DBRecordA Base class to use for records which will be read/written from the database.
Located in /DataUpdate.php (line 122)
| 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)
object
$EditMode
(line 195)
The mode we are in for any form
Constructor DBRecord (line 202)
Really numbingly simple construction.
AddTable (line 233)
This will join an additional table to the maintained set
Get (line 333)
Returns a single field from the record
Initialise (line 217)
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
PostToValues (line 245)
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
Read (line 367)
To read the record from the database.
If we don't have any keys then the record will be blank.
Set (line 322)
Sets a single field in the record
Undefine (line 343)
Unsets a single field from the record
Write (line 355)
To write the record to the database
_BuildFieldList (line 274)
Builds a field target list
_BuildJoinClause (line 259)
Builds a table join clause
_BuildWhereClause (line 295)
Builds a where clause to match the supplied keys
Documentation generated on Wed, 04 Jul 2012 07:06:13 +0000 by phpDocumentor 1.4.3