Public Member Functions | |
__construct () | |
getSaveButtonHtml () | |
getSaveUrl () | |
initForm () | |
Protected Member Functions | |
_prepareLayout () |
Definition at line 34 of file Edit.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 36 of file Edit.php.
00037 { 00038 parent::__construct(); 00039 $this->setTemplate('system/config/edit.phtml'); 00040 $this->setTitle('Manage PEAR Configuration'); 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 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 | ( | ) |
initForm | ( | ) |