Public Member Functions | |
preDispatch () | |
productsAction () |
Definition at line 34 of file CustomerController.php.
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 }