Mage_Adminhtml_Block_Extensions_Custom_Edit Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Custom_Edit:

Mage_Adminhtml_Block_Widget_Form_Container Mage_Adminhtml_Block_Widget_Container Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getHeaderText ()


Detailed Description

Definition at line 34 of file Edit.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 Mage_Adminhtml_Block_Widget_Form_Container.

Definition at line 36 of file Edit.php.

00037     {
00038         $this->_objectId = 'id';
00039         $this->_controller = 'extensions_custom';
00040 
00041         parent::__construct();
00042 
00043         $this->_removeButton('back');
00044 
00045         $this->_updateButton('reset', 'onclick', "resetPackage()");
00046 
00047         $this->_addButton('create', array(
00048             'label'=>Mage::helper('adminhtml')->__('Save data and Create Package'),
00049             'class'=>'save',
00050             'onclick'=>"createPackage()",
00051         ));
00052         $this->_addButton('save_as', array(
00053             'label'=>Mage::helper('adminhtml')->__('Save As...'),
00054             'title'=>Mage::helper('adminhtml')->__('Save package with custom package file name'),
00055             'onclick'=>'saveAsPackage()'
00056         ));
00057     }


Member Function Documentation

getHeaderText (  ) 

Get header text

Returns:
string

Reimplemented from Mage_Adminhtml_Block_Widget_Container.

Definition at line 59 of file Edit.php.

00060     {
00061         return Mage::helper('adminhtml')->__('New Extension');
00062     }


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

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