Wednesday, October 29, 2008

Re: Function which is executed at the end

Yea, I'm aware of the callbacks, as Nate suggested afterFilter might
work.

On Oct 29, 7:47 pm, "Samuel DeVore" <sdev...@gmail.com> wrote:
> If you look athttp://book.cakephp.org/view/21/A-Typical-CakePHP-Request
>
> there are a few places to look into
>
> for models there are callbackshttp://book.cakephp.org/view/76/Callback-Methodslike afterSave,
> afterFind, afterValidate
>
> for controllers there are callbackshttp://book.cakephp.org/view/60/Callbackslike afterFilter,
> afterRender
>
> Are those the kinds of things you are looking for?
>
> On Wed, Oct 29, 2008 at 7:24 AM, Abhimanyu Grover
>
> <gigapromot...@gmail.com> wrote:
>
> > Hi guys,
>
> > I am looking for a function in CakePHP which is executed after the
> > dispatching and processing a request.
> > I wish to log controller / model behavior for some debugging. Should I
> > just use destructor functions or is there any sweet solution available
> > in CakePHP for this already?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: