Mage_Adminhtml_Block_System_Email_Template Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Email_Template:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getCreateUrl ()
 getHeaderText ()

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 35 of file Template.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 37 of file Template.php.

00038     {
00039         parent::__construct();
00040         $this->setTemplate('system/email/template/list.phtml');
00041     }


Member Function Documentation

_prepareLayout (  )  [protected]

Preparing global layout

You can redefine this method in child classes for changin layout

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 43 of file Template.php.

00044     {
00045         $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/system_email_template_grid', 'email.template.grid'));
00046         return parent::_prepareLayout();
00047     }

getCreateUrl (  ) 

Definition at line 49 of file Template.php.

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

getHeaderText (  ) 

Definition at line 54 of file Template.php.

00055     {
00056         return Mage::helper('adminhtml')->__('Transactional Emails');
00057     }


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

Generated on Sat Jul 4 17:23:04 2009 for Magento by  doxygen 1.5.8