Controller actions don't have parameters, have they?

Regards,
Saša Stamenković


On Thu, Aug 13, 2009 at 1:22 PM, Ruslan Zavackiy
<[email protected]>wrote:

> Hi,
>
> Is it possible to fire one action from another and to save parameters? For
> example:
>
> public function __call($method, $args) {
>     $this->_helper->layout->disableLayout();
>
>     // Here Forward another action.
>     // $this->_forward('action') is not possible, as it rewrites helper.
> }
>
> I'm trying to achieve something like this:
>
> I have action indexAction that draws table with data, covered with Layout.
> If I open print-index (this action does not exists) I will disable Layout
> and open action Index for clear printing.
>
> Thanks in advance.
>

Reply via email to