Mage_Sales_Model_Mysql4_Quote_Address_Item_Collection Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Quote_Address_Item_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 setAddressFilter ($addressId)

Protected Member Functions

 _construct ()
 _afterLoad ()


Detailed Description

Definition at line 36 of file Collection.php.


Member Function Documentation

_afterLoad (  )  [protected]

Assign parent items

Reimplemented from Varien_Data_Collection_Db.

Definition at line 43 of file Collection.php.

00044     {
00045         parent::_afterLoad();
00046         /**
00047          * Assign parent items
00048          */
00049         foreach ($this as $item) {
00050             if ($item->getParentItemId()) {
00051                 $item->setParentItem($this->getItemById($item->getParentItemId()));
00052             }
00053         }
00054 
00055         return $this;
00056     }

_construct (  )  [protected]

Initialization here

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 38 of file Collection.php.

00039     {
00040         $this->_init('sales/quote_address_item');
00041     }

setAddressFilter ( addressId  ) 

Definition at line 58 of file Collection.php.

00059     {
00060         $this->addFieldToFilter('quote_address_id', $addressId);
00061         return $this;
00062     }


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

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