I am developing application plugin which sets up enviroment (registers other
plugins: config, database, user etc.). I want to do that inside
routeStartup() method (not in constructor, because I do not want to play
with stack indexes of plugins).

And then problem occures, because response/request objects are not set. I
know why - front controller sets them up only once, before any routing.
I Can set them by myself... but WHY? I thing it should be automatic in any
place.


P.S. of course request is passed as parameter of plugin methods, but what
about response?

P.P.S. Can somebody tell me: if I register plugin on stack index 4 (1,2,3
are free) and then I register another plugin without passing stack index,
what will be its stack index? 5? 1?
-- 
View this message in context: 
http://www.nabble.com/Registering-front-controller-plugins-inside-plugins-hooks-tf4786135s16154.html#a13692181
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to