How to update a Bean within a model method ?

279 views
Skip to first unread message

prakashraman

unread,
Jan 17, 2012, 3:55:53 PM1/17/12
to redbeanphp
I would like to be able to perform a "R::store($this)" inside a Model
method.

How could I do this ?

gabor

unread,
Jan 17, 2012, 4:33:12 PM1/17/12
to redbeanphp
R::store($this->bean);

Prakash Raman

unread,
Jan 17, 2012, 4:43:28 PM1/17/12
to redbe...@googlegroups.com
Ah, brilliant thanks :)

R::store($this->bean);
--
You received this message because you are subscribed to the Google Groups "redbeanphp" group.
To post to this group, send email to redbe...@googlegroups.com.
To unsubscribe from this group, send email to redbeanorm+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redbeanorm?hl=en.




--
Prakash Raman
http://www.prakashraman.info
http://letstonesbe.blogspot.com
Reply all
Reply to author
Forward
0 new messages