Public Member Functions | |
getOrder () | |
getPrintInvoiceUrl ($invoice) | |
getPrintAllInvoicesUrl ($order) |
Definition at line 34 of file Items.php.
getOrder | ( | ) |
Retrieve current order model instance
Definition at line 41 of file Items.php.
00042 { 00043 return Mage::registry('current_order'); 00044 }
getPrintAllInvoicesUrl | ( | $ | order | ) |
Definition at line 50 of file Items.php.
00050 { 00051 return Mage::getUrl('*/*/printInvoice', array('order_id' => $order->getId())); 00052 }
getPrintInvoiceUrl | ( | $ | invoice | ) |
Definition at line 46 of file Items.php.
00046 { 00047 return Mage::getUrl('*/*/printInvoice', array('invoice_id' => $invoice->getId())); 00048 }