Mage_Adminhtml_Block_Sales_Order_Invoice_View_Comments Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Invoice_View_Comments:

Mage_Adminhtml_Block_Text_List Mage_Core_Block_Text_List Mage_Core_Block_Text Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getOrder ()
 getSource ()
 getInvoice ()


Detailed Description

Definition at line 35 of file Comments.php.


Member Function Documentation

getInvoice (  ) 

Retrieve invoice model instance

Returns:
Mage_Sales_Model_Order_Invoice

Definition at line 62 of file Comments.php.

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

getOrder (  ) 

Retrieve invoice order

Returns:
Mage_Sales_Model_Order

Definition at line 42 of file Comments.php.

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

getSource (  ) 

Retrieve source

Returns:
Mage_Sales_Model_Order_Invoice

Definition at line 52 of file Comments.php.

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


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

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