Mage_Adminhtml_Block_Sales_Order_Create_Newsletter Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Create_Newsletter:

Mage_Adminhtml_Block_Sales_Order_Create_Abstract Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getHeaderText ()
 getHeaderCssClass ()

Protected Member Functions

 _toHtml ()


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->setId('sales_order_create_newsletter');
00042     }


Member Function Documentation

_toHtml (  )  [protected]

Render block HTML

Returns:
string

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 (  ) 

Definition at line 49 of file Newsletter.php.

00050     {
00051         return 'head-newsletter-list';
00052     }

getHeaderText (  ) 

Definition at line 44 of file Newsletter.php.

00045     {
00046         return Mage::helper('sales')->__('Newsletter Subscription');
00047     }


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

Generated on Sat Jul 4 17:22:59 2009 for Magento by  doxygen 1.5.8