Welcome Guest, Not a member yet? Register   Sign In
preExecute and postExecute?

Hi all...

I was wondering if it is possible to have functions such as symfony's preExecute() and postExecute() methods? Basically, they allow you to have those two functions in your controller, and they get executed before and after whichever method in the controller is called.

Is it possible?



You can set up hooks for that purpose.

Thanks for that...

I had just worked it out myself, but I'd never used them before and I don't thnk I'd ever read that section of the user guide!

Thanks again, Seppo!


Theme © iAndrew 2016 - Forum software by © MyBB