Tag: beforeAction()

Alternative to the beforeAction() event

January 11th, 2010, 5 Comments

I often see that when someone needs something executed on every page request before anything else is executed, they usually put it in the controller beforeAction() method. Things you might want executed on every page request might be, for example (so you know what I’m talking about): Handling the layout Cleaning all GET and POST […]

Feed

http://php-thoughts.cubedwater.com / beforeAction()