Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Items Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Items:

Mage_Adminhtml_Block_Sales_Items_Abstract 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 35 of file Items.php.


Member Function Documentation

getCreditmemo (  ) 

Retrieve creditmemo model instance

Returns:
Mage_Sales_Model_Order_Creditmemo

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

Definition at line 74 of file Items.php.

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

getOrder (  ) 

Retrieve invoice order

Returns:
Mage_Sales_Model_Order

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

Definition at line 42 of file Items.php.

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

getOrderTotalData (  ) 

Retrieve order totals block settings

Returns:
array

Definition at line 62 of file Items.php.

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

getOrderUrl (  ) 

Definition at line 79 of file Items.php.

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

getSource (  ) 

Retrieve source

Returns:
Mage_Sales_Model_Order_Creditmemo

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

Definition at line 52 of file Items.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