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!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.