Mage_Sales_Model_Mysql4_Quote_Address_Collection Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Quote_Address_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 setQuoteFilter ($quoteId)

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 36 of file Collection.php.


Member Function Documentation

_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');
00041     }

setQuoteFilter ( quoteId  ) 

Setting filter on quote_id field but if quote_id is 0 we should exclude loading junk data from DB

Parameters:
int $quoteId
Returns:
Mage_Sales_Model_Mysql4_Quote_Address_Collection

Definition at line 50 of file Collection.php.

00051     {
00052         $this->addFieldToFilter('quote_id', $quoteId ? $quoteId : array('null' => 1));
00053         return $this;
00054     }


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