<?php
class ProductController extends Yaf_Controller_Abstract
{
public function indexAction() {
$this->forward("list", array("category" => "book", "page" => 2));
return false; // ends the current flow
}
public function listAction() {
// all invocation arguments of the current action
var_dump($this->getInvokeArgs());
}
}
?>
The above example will output
something similar to:
array(2) {
["category"]=>
string(4) "book"
["page"]=>
int(2)
}