Magento: Redirect Funktionen

20. August 2010 at 17:42

Die ReDirect Funktionen findet ihr in der Mage_Core_Controller_Varien_Action class.

/* Redirect to certain url  */

/* Redirect to certain path */
_redirect($path, $arguments=array())

/* Redirect to success page */

/* Redirect to error page */

/* Set referer url for redirect in response */

/*  Identify referer url via all accepted methods (HTTP_REFERER, regular or base64-encoded request param) */

/* Check url to be used as internal */

For redirect URL:
$url = "";
For redirect with path and arguments:
Mage::app()->getFrontController()->getResponse()->setRedirect(Mage::getUrl($path, $arguments));
Daniel Briegert

Daniel Briegert


More Posts - Website

Follow Me: