Mage_Downloadable_Model_Mysql4_Link_Purchased_Collection Class Reference

Inheritance diagram for Mage_Downloadable_Model_Mysql4_Link_Purchased_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 addPurchasedItemsToResult ()

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 34 of file Collection.php.


Member Function Documentation

_construct (  )  [protected]

Enter description here...

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 41 of file Collection.php.

00042     {
00043         $this->_init('downloadable/link_purchased');
00044     }

addPurchasedItemsToResult (  ) 

Definition at line 46 of file Collection.php.

00047     {
00048         $this->getSelect()
00049             ->join(array('purchased_items'=>$this->getTable('downloadable/link_purchased_item')),
00050                 '`purchased_items`.purchased_id=`main_table`.purchased_id');
00051         return $this;
00052     }


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

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