Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Form Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_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 ()
 getOrderTotalData ()
 getCreditmemo ()
 getOrderUrl ()


Detailed Description

Definition at line 34 of file Form.php.


Member Function Documentation

getCreditmemo (  ) 

Retrieve creditmemo model instance

Returns:
Mage_Sales_Model_Order_Creditmemo

Definition at line 73 of file Form.php.

00074     {
00075         return Mage::registry('current_creditmemo');
00076     }

getOrder (  ) 

Retrieve invoice order

Returns:
Mage_Sales_Model_Order

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 41 of file Form.php.

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

getOrderTotalData (  ) 

Retrieve order totals block settings

Returns:
array

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 61 of file Form.php.

00062     {
00063         return array(
00064             'grand_total_title' => Mage::helper('sales')->__('Total Refund'),
00065         );
00066     }

getOrderUrl (  ) 

Definition at line 78 of file Form.php.

00079     {
00080         return $this->getUrl('*/sales_order/view', array('order_id' => $this->getCreditmemo()->getOrderId()));
00081     }

getSource (  ) 

Retrieve source

Returns:
Mage_Sales_Model_Order_Creditmemo

Definition at line 51 of file Form.php.

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


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