I want to do an routine check of permissions on every
page/visit/execution, where would the best place to put the code be?
Its only a function call, a function set in app_controller, but where
should I put the call so it executes on every single load?
look up beforeFilter in the manualOn 8/17/06, Simplerules [EMAIL PROTECTED] wrote:
I want to do an routine check of permissions on everypage/visit/execution, where would the best place to put the code be?
Its only a function call, a function set in app_controller, but whereshould I put the call so
Would that require me to put the the same beforeFilter in each
controller, or would I put that in app_controller?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Each controller extends app_controller, so write it once there to
execute globally.
Simplerules wrote:
Would that require me to put the the same beforeFilter in each
controller, or would I put that in app_controller?
--~--~-~--~~~---~--~~
You received