Class Mage_Sales_Model_Mysql4_Quote_Item_Collection

Description

Quote item resource collection

  • author: Magento Core Team <[email protected]>
  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

Located in /Sales/Model/Mysql4/Quote/Item/Collection.php (line 35)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Sales_Model_Mysql4_Quote_Item_Collection
Variable Summary
Method Summary
Variables
Methods
getStoreId (line 65)

Retrieve store Id (From Quote)

  • access: public
int getStoreId ()
resetJoinQuotes (line 98)

Reset the collection and inner join it to quotes table

Optionally can select items with specified product id only

  • access: public
Mage_Sales_Model_Mysql4_Quote_Item_Collection resetJoinQuotes (string $quotesTableName, [int $productId = null])
  • string $quotesTableName
  • int $productId
setQuote (line 76)

Set Quote object to Collection

  • access: public
_afterLoad (line 116)

After load processing

  • access: protected

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Redeclare after load method for specifying collection items original data
_assignOptions (line 147)

Add options to items

  • access: protected
_assignProducts (line 166)

Add products to items and item options

  • access: protected
_construct (line 55)

Initialize resource model

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:58:45 +0200 by phpDocumentor 1.4.3