Mage_Customer_Block_Newsletter Class Reference

Inheritance diagram for Mage_Customer_Block_Newsletter:

Mage_Customer_Block_Account_Dashboard Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getIsSubscribed ()
 getAction ()


Detailed Description

Definition at line 35 of file Newsletter.php.


Constructor & Destructor Documentation

__construct (  ) 

Constructor

By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes

Reimplemented from Varien_Object.

Definition at line 38 of file Newsletter.php.

00039     {
00040         parent::__construct();
00041         $this->setTemplate('customer/form/newsletter.phtml');
00042     }


Member Function Documentation

getAction (  ) 

Retrieve current action object

Returns:
Mage_Core_Controller_Varien_Action

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 49 of file Newsletter.php.

00050     {
00051         return $this->getUrl('*/*/save');
00052     }

getIsSubscribed (  ) 

Definition at line 44 of file Newsletter.php.

00045     {
00046         return $this->getSubscriptionObject()->isSubscribed();
00047     }


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