Public Member Functions | |
getLinks () | |
getLinksTitle () | |
draw () | |
Protected Attributes | |
$_purchasedLinks = null |
Definition at line 35 of file Abstract.php.
draw | ( | ) |
Draw item line
Reimplemented from Mage_Sales_Model_Order_Pdf_Items_Abstract.
Reimplemented in Mage_Downloadable_Model_Sales_Order_Pdf_Items_Creditmemo, and Mage_Downloadable_Model_Sales_Order_Pdf_Items_Invoice.
Definition at line 68 of file Abstract.php.
getLinks | ( | ) |
Return Purchased link for order item
Definition at line 44 of file Abstract.php.
00045 { 00046 $this->_purchasedLinks = Mage::getModel('downloadable/link_purchased') 00047 ->load($this->getOrder()->getId(), 'order_id'); 00048 $purchasedItems = Mage::getModel('downloadable/link_purchased_item')->getCollection() 00049 ->addFieldToFilter('order_item_id', $this->getItem()->getOrderItem()->getId()); 00050 $this->_purchasedLinks->setPurchasedItems($purchasedItems); 00051 00052 return $this->_purchasedLinks; 00053 }
getLinksTitle | ( | ) |
Return Links Section Title for order item
Definition at line 60 of file Abstract.php.
00061 { 00062 if ($this->_purchasedLinks->getLinkSectionTitle()) { 00063 return $this->_purchasedLinks->getLinkSectionTitle(); 00064 } 00065 return Mage::getStoreConfig(Mage_Downloadable_Model_Link::XML_PATH_LINKS_TITLE); 00066 }
$_purchasedLinks = null [protected] |
Definition at line 37 of file Abstract.php.