Class Comment
Persistent Object Class
Parent ABSTRACT class of all persistent objects. This class should not be instantiated, only used for subclasses. This cannot be enforced, but please follow it!
A child class should run the follwing in its constructor:
$new = $this->instantiate('tablename', array('uniquestring'=>$value, 'uniqueid'=>$uniqueid));
where 'tablename' is the name of the database table to use for this object type, and array('uniquestring'=>$value, ...) defines a unique set of columns (keys) and their current values which uniquely identifies a single record in that database table for this object.
Note: This is a persistable model that does not save automatically. You MUST call $this->save(); explicitly to persist the data in child classes.
- PersistentObject
- Comment
public
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
__toString(),
checkChanges(),
clearCache(),
copy(),
get(),
getData(),
getID(),
getLastChange(),
getLastChangeUser(),
instantiate(),
move(),
remove(),
save(),
set(),
setLastChange(),
setLastchangeUser()
|
public
|
$comment_error_text
|
#
NULL
|
public
|
$dataconfirmation
|
#
null
|
$exists,
$id,
$loaded,
$table,
$transient
|