Mage_Downloadable_CustomerController Class Reference

Inheritance diagram for Mage_Downloadable_CustomerController:

Mage_Core_Controller_Front_Action Mage_Core_Controller_Varien_Action

List of all members.

Public Member Functions

 preDispatch ()
 productsAction ()


Detailed Description

Definition at line 34 of file CustomerController.php.


Member Function Documentation

preDispatch (  ) 

Check customer authentication

Reimplemented from Mage_Core_Controller_Front_Action.

Definition at line 40 of file CustomerController.php.

00041     {
00042         parent::preDispatch();
00043         $action = $this->getRequest()->getActionName();
00044         $loginUrl = Mage::helper('customer')->getLoginUrl();
00045 
00046         if (!Mage::getSingleton('customer/session')->authenticate($this, $loginUrl)) {
00047             $this->setFlag('', self::FLAG_NO_DISPATCH, true);
00048         }
00049     }

productsAction (  ) 

Display downloadable links bought by customer

Definition at line 55 of file CustomerController.php.

00056     {
00057         $this->loadLayout();
00058         $this->_initLayoutMessages('customer/session');
00059         if ($block = $this->getLayout()->getBlock('downloadable_customer_products_list')) {
00060             $block->setRefererUrl($this->_getRefererUrl());
00061         }
00062         $this->renderLayout();
00063     }


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

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