Mage_Sales_Block_Order_Creditmemo_Items Class Reference

Inheritance diagram for Mage_Sales_Block_Order_Creditmemo_Items:

Mage_Sales_Block_Items_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getOrder ()
 getPrintCreditmemoUrl ($creditmemo)
 getPrintAllCreditmemosUrl ($order)


Detailed Description

Definition at line 34 of file Items.php.


Member Function Documentation

getOrder (  ) 

Retrieve current order model instance

Returns:
Mage_Sales_Model_Order

Definition at line 41 of file Items.php.

00042     {
00043         return Mage::registry('current_order');
00044     }

getPrintAllCreditmemosUrl ( order  ) 

Definition at line 50 of file Items.php.

00050                                                      {
00051         return Mage::getUrl('*/*/printCreditmemo', array('order_id' => $order->getId()));
00052     }

getPrintCreditmemoUrl ( creditmemo  ) 

Definition at line 46 of file Items.php.

00046                                                       {
00047         return Mage::getUrl('*/*/printCreditmemo', array('creditmemo_id' => $creditmemo->getId()));
00048     }


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

Generated on Sat Jul 4 17:24:39 2009 for Magento by  doxygen 1.5.8