
Public Member Functions | |
| __construct () | |
| getCreateUrl () | |
| getHeaderText () | |
Protected Member Functions | |
| _prepareLayout () | |
Definition at line 35 of file Template.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 37 of file Template.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('newsletter/template/list.phtml'); 00041 }
| _prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 44 of file Template.php.
00045 { 00046 $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/newsletter_template_grid', 'newsletter.template.grid')); 00047 return parent::_prepareLayout(); 00048 }
| getCreateUrl | ( | ) |
| getHeaderText | ( | ) |
Definition at line 55 of file Template.php.
00056 { 00057 return Mage::helper('newsletter')->__('Newsletter Templates'); 00058 }
1.5.8