/** * Validate response body * * @return null */ public function postDispatch() { parent::postDispatch(); $body = $this->getResponse()->getBody(); if (empty($body)) { $this->_message(Mage::helper('xmlconnect')->__('An error occurred while processing your request.'), self::MESSAGE_STATUS_ERROR); } }
/** * Need to disable this flag to prevent setting the last URL but we * don't want to completely break sessions. * * see Mage_Core_Controller_Front_Action::postDispatch * * @return null */ public function postDispatch() { $flag = $this->getFlag('', self::FLAG_NO_START_SESSION); $this->setFlag('', self::FLAG_NO_START_SESSION, true); parent::postDispatch(); $this->setFlag('', self::FLAG_NO_START_SESSION, $flag); }
public function postDispatch() { parent::postDispatch(); Mage::app()->getCookie()->delete('fb-referer'); return $this; }
/** * Action postdispatch * * Remove No-referer flag from customer session after each action */ public function postDispatch() { parent::postDispatch(); $this->_getSession()->unsNoReferer(false); }
public function postDispatch() { parent::postDispatch(); }