Persist the desired object data into the db table.
if the object data is persisted for the first time, an ID is generated and written back as object var with the name 'ID'.
Tags:
Overrides
Bs_ObjPersister::persist() (Persist the object that is handeled by this object.)
bool unPersist(
[mixed
$sqlSomething = NULL])
|
|
(Get the data from db) and push it into the object.
If $sqlSomething is a recordset (hash) it will be used. If it's a string it will be used for the sql query. If not set, the $persisterID of the object is used to fetch the data. NOTE: Only the first found record set is used.
Tags:
Overrides
Bs_ObjPersister::unPersist() (Unpersist the object that is handeled by this object.)
Parameters: