xoops forums

uberrookie

Just popping in
Posted on: 2011/6/16 19:39
uberrookie
uberrookie (Show more)
Just popping in
Posts: 34
Since: 2011/3/29
#1

Update sql row with XoopsPersistableObjectHandler?

How do I update a sql row using XoopsPersistableObjectHandler?

ex:
$this->update($obj);


somewhere in the code it says
$this->insert($obj);
should insert or update the object, but i don't understand the update part.

uberrookie

Just popping in
Posted on: 2011/6/16 20:40
uberrookie
uberrookie (Show more)
Just popping in
Posts: 34
Since: 2011/3/29
#2

Re: Update sql row with XoopsPersistableObjectHandler?

Found solution by accident at: https://xoops.org/modules/newbb/viewto ... p?topic_id=72653&forum=65

If the mentioned topic had another subject, it could have saved me a lot of time searching.