Mage_Checkout_Block_Onepage_Failure Class Reference

Inheritance diagram for Mage_Checkout_Block_Onepage_Failure:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getRealOrderId ()
 getErrorMessage ()
 getContinueShoppingUrl ()


Detailed Description

Definition at line 28 of file Failure.php.


Member Function Documentation

getContinueShoppingUrl (  ) 

Continue shopping URL

Returns:
string

Definition at line 52 of file Failure.php.

00053     {
00054         return Mage::getUrl('checkout/cart');
00055     }

getErrorMessage (  ) 

Payment custom error message

Returns:
string

Definition at line 40 of file Failure.php.

00041     {
00042         $error = Mage::getSingleton('checkout/session')->getErrorMessage();
00043         // Mage::getSingleton('checkout/session')->unsErrorMessage();
00044         return $error;
00045     }

getRealOrderId (  ) 

Definition at line 30 of file Failure.php.

00031     {
00032         return Mage::getSingleton('checkout/session')->getLastRealOrderId();
00033     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:50 2009 for Magento by  doxygen 1.5.8