Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Form Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Form:

Mage_Adminhtml_Block_Sales_Order_Abstract 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

 getOrder ()
 getSource ()
 getCreditmemo ()
 getSaveUrl ()


Detailed Description

Definition at line 35 of file Form.php.


Member Function Documentation

getCreditmemo (  ) 

Retrieve creditmemo model instance

Returns:
Mage_Sales_Model_Creditmemo

Definition at line 62 of file Form.php.

00063     {
00064         return Mage::registry('current_creditmemo');
00065     }

getOrder (  ) 

Retrieve invoice order

Returns:
Mage_Sales_Model_Order

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 42 of file Form.php.

00043     {
00044         return $this->getCreditmemo()->getOrder();
00045     }

getSaveUrl (  ) 

Definition at line 67 of file Form.php.

00068     {
00069         return $this->getUrl('*/*/save', array('_current' => true));
00070     }

getSource (  ) 

Retrieve source

Returns:
Mage_Sales_Model_Order_Invoice

Definition at line 52 of file Form.php.

00053     {
00054         return $this->getCreditmemo();
00055     }


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

Generated on Sat Jul 4 17:23:00 2009 for Magento by  doxygen 1.5.8