Skip to content

Instantly share code, notes, and snippets.

@junichiro
Created January 14, 2010 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junichiro/276811 to your computer and use it in GitHub Desktop.
Save junichiro/276811 to your computer and use it in GitHub Desktop.
// in ZendFramework
// forward
$this->_forward( 'index', 'index', 'product' );
// Exactly the same
$request = $this->getRequest();
$request->setModuleName('product')
->setControllerName('index')
->setActionName('index')
->setDispatched(false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment