views:

752

answers:

2

Hi,

A simple question really. I am using the _forward function in the Zend Php Framework.

$this->_forward('formview', null, null, array('test'=>'penu'));

So Im forwarding to the formview action with the same controller with the paramater test = 'penu'

However how do obtain this value when I am in the action which I am forwarded to.

Thanks.

+5  A: 
$test=$this->getRequest()->getParam('test');
Itay Moav
A: 

Or $this->_getParam('test')

noginn