Problem getting Params in injected controller Zend Framework

Posted by simple on Stack Overflow See other posts from Stack Overflow or by simple
Published on 2010-03-31T13:04:47Z Indexed on 2010/03/31 13:23 UTC
Read the original article Hit count: 346

Filed under:
|

I have a layout 'profile'

<div>
    <div> $this->action(action1, controller1, module1)<div>
    <div> $this->layout()->content </div>
    <div> $this->action(someotheraction, soController,soModule );
</div

And the problem starts when I want to get the $request->Params() from the action1 , controller1 module1 , it is empty. I looked at the code of a helper Action , it does accept as a 4th parameter Params, but then I will have to set it somewhere in the layout - which is not good. Basically what are the recommendations of guru people that are pretty professional with zend Framework. Maybe I should do some work around or should change the concept of how I am injecting additional Controller(module) actions

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework