Class Mage_Sales_Model_Mysql4_Report_Collection_Abstract

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Sales/Model/Mysql4/Report/Collection/Abstract.php (line 27)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Sales_Model_Mysql4_Report_Collection_Abstract
Direct descendents
Variable Summary
Method Summary
Variables
mixed $_aggregatedColumns = array() (line 37)
  • access: protected
mixed $_applyFilters = true (line 34)
  • access: protected
mixed $_from = null (line 29)
  • access: protected
mixed $_isSubTotals = false (line 36)
  • access: protected
mixed $_isTotals = false (line 35)
  • access: protected
mixed $_orderStatus = null (line 31)
  • access: protected
mixed $_period = null (line 32)
  • access: protected
mixed $_storesIds = 0 (line 33)
  • access: protected
mixed $_to = null (line 30)
  • access: protected

Inherited Variables

Inherited from Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::$_eventObject
Mage_Core_Model_Mysql4_Collection_Abstract::$_eventPrefix
Mage_Core_Model_Mysql4_Collection_Abstract::$_fieldsToSelect
Mage_Core_Model_Mysql4_Collection_Abstract::$_fieldsToSelectChanged
Mage_Core_Model_Mysql4_Collection_Abstract::$_initialFieldsToSelect
Mage_Core_Model_Mysql4_Collection_Abstract::$_joinedTables
Mage_Core_Model_Mysql4_Collection_Abstract::$_mainTable
Mage_Core_Model_Mysql4_Collection_Abstract::$_model
Mage_Core_Model_Mysql4_Collection_Abstract::$_resetItemsDataChanged
Mage_Core_Model_Mysql4_Collection_Abstract::$_resource
Mage_Core_Model_Mysql4_Collection_Abstract::$_resourceModel
Methods
addOrderStatusFilter (line 164)

Set status filter

  • access: public
Mage_Sales_Model_Mysql4_Report_Collection_Abstract addOrderStatusFilter ( $orderStatus, string|array $state)
  • string|array $state
  • $orderStatus
addStoreFilter (line 109)

Set store ids

  • access: public
Mage_Sales_Model_Mysql4_Report_Collection_Abstract addStoreFilter (mixed $storeIds)
  • mixed $storeIds: (null, int|string, array, array may contain null)
getAggregatedColumns (line 56)

Retrieve array of columns that should be aggregated

  • access: public
array getAggregatedColumns ()
isSubTotals (line 221)

Getter/Setter for isSubTotals

  • access: public
boolean|Mage_Sales_Model_Mysql4_Report_Collection_Abstract isSubTotals ([null|boolean $flag = null])
  • null|boolean $flag
isTotals (line 206)

Getter/Setter for isTotals

  • access: public
boolean|Mage_Sales_Model_Mysql4_Report_Collection_Abstract isTotals ([null|boolean $flag = null])
  • null|boolean $flag
load (line 236)

Load data Redeclare parent load method just for adding method _beforeLoad

  • access: public
Varien_Data_Collection_Db load ([ $printQuery = false], [ $logQuery = false])
  • $printQuery
  • $logQuery

Redefined in descendants as:
setAggregatedColumns (line 45)

Set array of columns that should be aggregated

  • access: public
Mage_Sales_Model_Mysql4_Report_Collection_Abstract setAggregatedColumns ( $columns)
  • array $columns
setApplyFilters (line 194)

Set apply filters flag

  • access: public
Mage_Sales_Model_Mysql4_Report_Collection_Abstract setApplyFilters (boolean $flag)
  • boolean $flag
setDateRange (line 68)

Set date range

  • access: public
Mage_Sales_Model_Mysql4_Report_Collection_Abstract setDateRange ([mixed $from = null], [mixed $to = null])
  • mixed $from
  • mixed $to
setPeriod (line 81)

Set period

  • access: public
  • string $period
_applyDateRangeFilter (line 92)

Apply date range filter

  • access: protected
_applyOrderStatusFilter (line 175)

Apply order status filter

  • access: protected

Redefined in descendants as:
_applyStoresFilter (line 153)

Apply stores filter

  • access: protected

Redefined in descendants as:
_applyStoresFilterToSelect (line 121)

Apply stores filter to select object

  • access: protected
Mage_Sales_Model_Mysql4_Report_Collection_Abstract _applyStoresFilterToSelect ( $select)
  • Zend_Db_Select $select

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