Mage_Adminhtml_Block_System_Design Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Design:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 28 of file Design.php.


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 30 of file Design.php.

00031     {
00032         $this->setTemplate('system/design/index.phtml');
00033 
00034         $this->setChild('add_new_button',
00035             $this->getLayout()->createBlock('adminhtml/widget_button')
00036                 ->setData(array(
00037                     'label'     => Mage::helper('catalog')->__('Add Design Change'),
00038                     'onclick'   => "setLocation('".$this->getUrl('*/*/new')."')",
00039                     'class'   => 'add'
00040                     ))
00041                 );
00042 
00043         $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/system_design_grid', 'design.grid'));
00044         return parent::_prepareLayout();
00045     }


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