/**
* Function to redirct the user to the home page
* Created: Oct 6, 2010
* @param Zend_Controller_Request_Abstract $request - The request object
*/
public function redirectToTeamHome($request){
$url = Zend_Controller_Action_HelperBroker::getStaticHelper('url');
$v = $url->url(array('page'=>$request->getParam(g_team_url)))."/index";
$this->getResponse()->setHttpResponseCode(403);
$request->setParam( 'ref', $request->getPathInfo() );
$request->setControllerName( "team" );
$request->setActionName( "index" );
$this->getResponse()->setHeader("Location",$v);
$request->setDispatched( true );
}
No comments:
Post a Comment