Public Member Functions | |
__construct () | |
getHeaderText () | |
getHeaderCssClass () | |
Protected Member Functions | |
_toHtml () |
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->setId('sales_order_create_newsletter'); 00042 }
_toHtml | ( | ) | [protected] |
Render block HTML
Reimplemented from Mage_Core_Block_Template.
Definition at line 54 of file Newsletter.php.
00055 { 00056 if (! Mage::getSingleton('adminhtml/quote')->getIsOldCustomer()) { 00057 return parent::_toHtml(); 00058 } 00059 return ''; 00060 }
getHeaderCssClass | ( | ) |
getHeaderText | ( | ) |
Definition at line 44 of file Newsletter.php.
00045 { 00046 return Mage::helper('sales')->__('Newsletter Subscription'); 00047 }