Public Member Functions | |
__construct () | |
getIsSubscribed () | |
getAction () |
Definition at line 35 of file Newsletter.php.
__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 }
getAction | ( | ) |
Retrieve current action object
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 }