Mage_Checkout_Model_Observer Class Reference

List of all members.

Public Member Functions

 unsetAll ()
 loadCustomerQuote ()
 salesQuoteSaveAfter ($observer)


Detailed Description

Definition at line 34 of file Observer.php.


Member Function Documentation

loadCustomerQuote (  ) 

Definition at line 41 of file Observer.php.

00042     {
00043         try {
00044             Mage::getSingleton('checkout/session')->loadCustomerQuote();
00045         }
00046         catch (Mage_Core_Exception $e) {
00047             Mage::getSingleton('checkout/session')->addError($e->getMessage());
00048         }
00049         catch (Exception $e) {
00050             Mage::getSingleton('checkout/session')->addException(
00051                 $e,
00052                 Mage::helper('checkout')->__('Load customer quote error')
00053             );
00054         }
00055     }

salesQuoteSaveAfter ( observer  ) 

Definition at line 57 of file Observer.php.

00058     {
00059         $quote = $observer->getEvent()->getQuote();
00060         /* @var $quote Mage_Sales_Model_Quote */
00061         if ($quote->getIsCheckoutCart()) {
00062             Mage::getSingleton('checkout/session')->getQuoteId($quote->getId());
00063         }
00064     }

unsetAll (  ) 

Definition at line 36 of file Observer.php.

00037     {
00038         Mage::getSingleton('checkout/session')->unsetAll();
00039     }


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

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