How can I pass $this->params['form'] to the controller action I specify in requestAction so that I can use the variable in the same way by calling $this->params['form']?
Here is what I’m trying (but isn’t working):
$this->requestAction('/reports/grid', array('params["form"]' => $this->params['form']));
$this->requestAction('/reports/grid', array('$this->params["form"]' => $this->params['form']));
1 Answer