Mage_Adminhtml_Block_Sales_Order_Invoice_View_Items Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Invoice_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 ()
 getInvoice ()
 getOrderUrl ()
 formatPrice ($price)


Detailed Description

Definition at line 35 of file Items.php.


Member Function Documentation

formatPrice ( price  ) 

Retrieve formated price

Parameters:
float $price
Returns:
string

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

Definition at line 81 of file Items.php.

00082     {
00083         return $this->getInvoice()->getOrder()->formatPrice($price);
00084     }

getInvoice (  ) 

Retrieve invoice model instance

Returns:
Mage_Sales_Model_Order_Invoice

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

Definition at line 62 of file Items.php.

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

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->getInvoice()->getOrder();
00045     }

getOrderUrl (  ) 

Retrieve order url

Definition at line 70 of file Items.php.

00071     {
00072         return $this->getUrl('*/sales_order/view', array('order_id' => $this->getInvoice()->getOrderId()));
00073     }

getSource (  ) 

Retrieve source

Returns:
Mage_Sales_Model_Order_Invoice

Reimplemented from Mage_Adminhtml_Block_Sales_Items_Abstract.

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