Re: hooking onto the find() query

2009-06-01 Thread Bryan Paddock
*shoots himself for not seeing that... thanks man... On Mon, Jun 1, 2009 at 6:33 PM, Eber Freitas Dias wrote: > I guess this is what you need: > > http://book.cakephp.org/view/76/Callback-Methods > > > On Mon, Jun 1, 2009 at 1:30 PM, Bryan Paddock wrote: > >> hey guys, >> is it possible to hook o

Re: hooking onto the find() query

2009-06-01 Thread Eber Freitas Dias
I guess this is what you need: http://book.cakephp.org/view/76/Callback-Methods On Mon, Jun 1, 2009 at 1:30 PM, Bryan Paddock wrote: > hey guys, > is it possible to hook onto the database queries? > > ie: each time i call a $this->Property->find() or findById() etc etc I > would like to perform

hooking onto the find() query

2009-06-01 Thread Bryan Paddock
hey guys, is it possible to hook onto the database queries? ie: each time i call a $this->Property->find() or findById() etc etc I would like to perform certain functions on the data returned and include them in the results.. I know I can create my own function for pulling data out but I was hopi