Mage_GoogleAnalytics_Model_Observer Class Reference

List of all members.

Public Member Functions

 order_success_page_view ($observer)


Detailed Description

Definition at line 34 of file Observer.php.


Member Function Documentation

order_success_page_view ( observer  ) 

Enter description here...

Parameters:
unknown_type $observer

Definition at line 42 of file Observer.php.

00043     {
00044         $quoteId = Mage::getSingleton('checkout/session')->getLastQuoteId();
00045         $analyticsBlock = Mage::app()->getFrontController()->getAction()->getLayout()->getBlock('google_analytics');
00046         if ($quoteId && ($analyticsBlock instanceof Mage_Core_Block_Abstract)) {
00047             $quote = Mage::getModel('sales/quote')->load($quoteId);
00048             $analyticsBlock->setQuote($quote);
00049         }
00050     }


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

Generated on Sat Jul 4 17:24:13 2009 for Magento by  doxygen 1.5.8