Welcome Guest, Not a member yet? Register   Sign In
Addition of a preDispatch Method

I've been developing CI Projects for 2 years and since starting with it, I have always found my self creating a hook at post Controller for rendering the result of a controller action being run into the main site layout. I have been investigating Zend framework lately and this has a method called preDispatch which pretty much does this. This mechanism is much neater than the way I've been doing it.

I am not aware of CI having anything similar, but I think it would be a nice feature to have. I would be interested to know how other get around the above problem. I would've posted this in the feature request forum, but it says I am not allowed for some reason.


Theme © iAndrew 2016 - Forum software by © MyBB