Wednesday, October 29, 2008

Re: Function which is executed at the end

If you look at
http://book.cakephp.org/view/21/A-Typical-CakePHP-Request

there are a few places to look into

for models there are callbacks
http://book.cakephp.org/view/76/Callback-Methods like afterSave,
afterFind, afterValidate

for controllers there are callbacks
http://book.cakephp.org/view/60/Callbacks like afterFilter,
afterRender

Are those the kinds of things you are looking for?


On Wed, Oct 29, 2008 at 7:24 AM, Abhimanyu Grover
<gigapromoters@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: