/** * Dispatches controller_action_postdispatch_adminhtml Event (as not Adminhtml router) */ public function postDispatch() { parent::postDispatch(); if ($this->getFlag('', self::FLAG_NO_POST_DISPATCH)) { return; } Mage::dispatchEvent('controller_action_postdispatch_adminhtml', array('controller_action' => $this)); }
/** * Validate response body * * @return null */ public function postDispatch() { parent::postDispatch(); $body = $this->getResponse()->getBody(); if (empty($body)) { $this->_message(Mage_XmlConnect_Model_Simplexml_Message_Error::ERROR_SERVER_SP_DEFAULT, $this->__('An error occurred while processing your request.')); } }