Mage_Adminhtml_Block_Checkout_Agreement_Edit Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Checkout_Agreement_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 35 of file Edit.php.


Constructor & Destructor Documentation

__construct (  ) 

Init class

Reimplemented from Mage_Adminhtml_Block_Widget_Form_Container.

Definition at line 41 of file Edit.php.

00042     {
00043         $this->_objectId = 'id';
00044         $this->_controller = 'checkout_agreement';
00045 
00046         parent::__construct();
00047 
00048         $this->_updateButton('save', 'label', Mage::helper('checkout')->__('Save Condition'));
00049         $this->_updateButton('delete', 'label', Mage::helper('checkout')->__('Delete Condition'));
00050     }


Member Function Documentation

getHeaderText (  ) 

Get Header text

Returns:
string

Reimplemented from Mage_Adminhtml_Block_Widget_Container.

Definition at line 57 of file Edit.php.

00058     {
00059         if (Mage::registry('checkout_agreement')->getId()) {
00060             return Mage::helper('checkout')->__('Edit Terms and Conditions');
00061         }
00062         else {
00063             return Mage::helper('checkout')->__('New Condition');
00064         }
00065     }


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

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