Mage_Customer_Block_Account_Dashboard_Newsletter Class Reference

Inheritance diagram for Mage_Customer_Block_Account_Dashboard_Newsletter:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getSubscriptionObject ()


Detailed Description

Definition at line 35 of file Newsletter.php.


Member Function Documentation

getSubscriptionObject (  ) 

Definition at line 37 of file Newsletter.php.

00038     {
00039         if(is_null($this->_subscription)) {
00040             $this->_subscription = Mage::getModel('newsletter/subscriber')
00041                 ->loadByCustomer(Mage::getSingleton('customer/session')->getCustomer());
00042         }
00043         return $this->_subscription;
00044     }


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

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