On Aug 22, 2006, at 3:32 PM, Simplerules wrote:

>
> Is there  a way for me to set a function to run at the end of every
> page load?

Controller::afterFilter();

You might implement it in your AppController if you want it site-wide:

class AppController extends Controller
{
        function afterFilter()
        {
                //do stuff here after every action
        }
}

-- John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to