Public Member Functions | |
setQuoteFilter ($quoteId) | |
Protected Member Functions | |
_construct () |
Definition at line 36 of file Collection.php.
_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
int | $quoteId |
Definition at line 50 of file Collection.php.
00051 { 00052 $this->addFieldToFilter('quote_id', $quoteId ? $quoteId : array('null' => 1)); 00053 return $this; 00054 }