Mage_Adminhtml_Block_Extensions_Config_Edit Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Config_Edit:

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 ()
 getSaveButtonHtml ()
 getSaveUrl ()
 initForm ()

Protected Member Functions

 _prepareLayout ()


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 Varien_Object.

Definition at line 36 of file Edit.php.

00037     {
00038         parent::__construct();
00039         $this->setTemplate('system/config/edit.phtml');
00040         $this->setTitle('Manage PEAR Configuration');
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 Edit.php.

00044     {
00045         $this->setChild('save_button',
00046             $this->getLayout()->createBlock('adminhtml/widget_button')
00047                 ->setData(array(
00048                     'label'     => Mage::helper('adminhtml')->__('Save PEAR Config'),
00049                     'onclick'   => 'configForm.submit()',
00050                     'class' => 'save',
00051                 ))
00052         );
00053         return parent::_prepareLayout();
00054     }

getSaveButtonHtml (  ) 

Definition at line 56 of file Edit.php.

00057     {
00058         return $this->getChildHtml('save_button');
00059     }

getSaveUrl (  ) 

Definition at line 61 of file Edit.php.

00062     {
00063         return $this->getUrl('*/*/save', array('_current'=>true));
00064     }

initForm (  ) 

Definition at line 66 of file Edit.php.

00067     {
00068         $this->setChild('form',
00069             $this->getLayout()->createBlock('adminhtml/extensions_config_form')
00070                 ->initForm()
00071         );
00072         return $this;
00073     }


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