Class Mage_Sales_Model_Mysql4_Order_Collection

Description

Flat sales order collection

  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

Located in /Sales/Model/Mysql4/Order/Collection.php (line 31)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Sales_Model_Mysql4_Collection_Abstract
         |
         --Mage_Sales_Model_Mysql4_Order_Collection
Direct descendents
Class Description
Mage_Sales_Model_Mysql4_Order_Grid_Collection Flat sales order grid collection
Mage_Reports_Model_Mysql4_Order_Collection Reports orders collection
Variable Summary
Method Summary
Variables
Methods
addAddressFields (line 143)

Add addresses information to select

  • access: public
addAttributeToSearchFilter (line 170)

Specify collection select filter by attribute value

  • access: public
Mage_Sales_Model_Mysql4_Collection_Abstract addAttributeToSearchFilter ( $attributes, [array|integer|string|null $condition = null], array|string|Mage_Eav_Model_Entity_Attribute $attribute)
addBillingAgreementsFilter (line 193)

Add filter by specified billing agreements

  • access: public
Mage_Sales_Model_Mysql4_Order_Collection addBillingAgreementsFilter (int|array $agreements)
  • int|array $agreements
addFieldToSearchFilter (line 156)

Add field search filter to collection as OR condition

  • see: self::_getConditionSql for $condition
  • access: public
Mage_Eav_Model_Entity_Collection_Abstract addFieldToSearchFilter (string $field, [null|string|array $condition = null])
  • string $field
  • null|string|array $condition
addItemCountExpr (line 50)

Add items count expr to collection select, backward capability with eav structure

  • access: public

Redefined in descendants as:
addRecurringProfilesFilter (line 210)

Add filter by specified recurring profile id(s)

  • access: public
Mage_Sales_Model_Mysql4_Order_Collection addRecurringProfilesFilter (array|int $ids)
  • array|int $ids
getSelectCountSql (line 66)

Minimize usual count select

  • access: public
Varien_Db_Select getSelectCountSql ()

Redefined in descendants as:
_addAddressFields (line 95)

Join table sales_flat_order_address to select for billing and shipping order addresses.

Create corillation map

  • access: protected
_construct (line 36)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here

Redefined in descendants as:
_getAllIdsSelect (line 80)

Reset left join

  • access: protected
Mage_Eav_Model_Entity_Collection_Abstract _getAllIdsSelect ([ $limit = null], [ $offset = null])
  • $limit
  • $offset

Redefinition of:
Mage_Sales_Model_Mysql4_Collection_Abstract::_getAllIdsSelect()
Create all ids retrieving select with limitation Backward compatibility with EAV collection

Inherited Methods

Inherited From Mage_Sales_Model_Mysql4_Collection_Abstract

Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToFilter()
Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToSelect()
Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToSort()
Mage_Sales_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Sales_Model_Mysql4_Collection_Abstract::joinAttribute()
Mage_Sales_Model_Mysql4_Collection_Abstract::setPage()
Mage_Sales_Model_Mysql4_Collection_Abstract::_attributeToField()
Mage_Sales_Model_Mysql4_Collection_Abstract::_getAllIdsSelect()

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:41 +0200 by phpDocumentor 1.4.3