I am new to this forum. Please help me solve my issue.
my controller is 'ClientController' and action to which I want to forward is 'EditClient'. I want to pass my current request to this action with the parameter 'id' = 23.
$forward = $this->forward()->dispatch('Client', array('action' => 'EditClient'));
return array(
'id' => 21,
'Client'=> $forward,
);
refer official document HERE
example at the github HERE
In zend project your action URL is Client/EditClient/23
**Here is code sample.....**
<?php echo $this->url('Client', array('action'=>'EditClient', 'id' => 23));?>