Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Reports_Block_Product_Abstract
  • Mage_Reports_Block_Product_Compared
  • Mage_Reports_Block_Product_Viewed
  • Mage_Reports_Block_Product_Widget_Compared
  • Mage_Reports_Block_Product_Widget_Viewed
  • Mage_Reports_Exception
  • Mage_Reports_Helper_Data
  • Mage_Reports_Model_Config
  • Mage_Reports_Model_Event
  • Mage_Reports_Model_Event_Observer
  • Mage_Reports_Model_Event_Type
  • Mage_Reports_Model_Flag
  • Mage_Reports_Model_Grouped_Collection
  • Mage_Reports_Model_Mysql4_Accounts_Collection
  • Mage_Reports_Model_Mysql4_Coupons_Collection
  • Mage_Reports_Model_Mysql4_Customer_Collection
  • Mage_Reports_Model_Mysql4_Customer_Orders_Collection
  • Mage_Reports_Model_Mysql4_Customer_Totals_Collection
  • Mage_Reports_Model_Mysql4_Entity_Summary_Collection_Abstract
  • Mage_Reports_Model_Mysql4_Event
  • Mage_Reports_Model_Mysql4_Event_Collection
  • Mage_Reports_Model_Mysql4_Event_Type
  • Mage_Reports_Model_Mysql4_Event_Type_Collection
  • Mage_Reports_Model_Mysql4_Invoiced_Collection
  • Mage_Reports_Model_Mysql4_Order_Collection
  • Mage_Reports_Model_Mysql4_Product_Collection
  • Mage_Reports_Model_Mysql4_Product_Downloads_Collection
  • Mage_Reports_Model_Mysql4_Product_Index_Abstract
  • Mage_Reports_Model_Mysql4_Product_Index_Collection_Abstract
  • Mage_Reports_Model_Mysql4_Product_Index_Compared
  • Mage_Reports_Model_Mysql4_Product_Index_Compared_Collection
  • Mage_Reports_Model_Mysql4_Product_Index_Viewed
  • Mage_Reports_Model_Mysql4_Product_Index_Viewed_Collection
  • Mage_Reports_Model_Mysql4_Product_Lowstock_Collection
  • Mage_Reports_Model_Mysql4_Product_Ordered_Collection
  • Mage_Reports_Model_Mysql4_Product_Sold_Collection
  • Mage_Reports_Model_Mysql4_Product_Viewed_Collection
  • Mage_Reports_Model_Mysql4_Quote_Collection
  • Mage_Reports_Model_Mysql4_Refunded_Collection
  • Mage_Reports_Model_Mysql4_Report_Abstract
  • Mage_Reports_Model_Mysql4_Report_Collection
  • Mage_Reports_Model_Mysql4_Review_Collection
  • Mage_Reports_Model_Mysql4_Review_Customer_Collection
  • Mage_Reports_Model_Mysql4_Review_Product_Collection
  • Mage_Reports_Model_Mysql4_Shipping_Collection
  • Mage_Reports_Model_Mysql4_Tag_Collection
  • Mage_Reports_Model_Mysql4_Tag_Customer_Collection
  • Mage_Reports_Model_Mysql4_Tag_Product_Collection
  • Mage_Reports_Model_Mysql4_Tax_Collection
  • Mage_Reports_Model_Mysql4_Wishlist_Collection
  • Mage_Reports_Model_Mysql4_Wishlist_Product_Collection
  • Mage_Reports_Model_Product_Index_Abstract
  • Mage_Reports_Model_Product_Index_Compared
  • Mage_Reports_Model_Product_Index_Viewed
  • Mage_Reports_Model_Report
  • Mage_Reports_Model_Resource_Accounts_Collection
  • Mage_Reports_Model_Resource_Coupons_Collection
  • Mage_Reports_Model_Resource_Customer_Collection
  • Mage_Reports_Model_Resource_Customer_Orders_Collection
  • Mage_Reports_Model_Resource_Customer_Totals_Collection
  • Mage_Reports_Model_Resource_Entity_Summary_Collection_Abstract
  • Mage_Reports_Model_Resource_Event
  • Mage_Reports_Model_Resource_Event_Collection
  • Mage_Reports_Model_Resource_Event_Type
  • Mage_Reports_Model_Resource_Event_Type_Collection
  • Mage_Reports_Model_Resource_Helper_Mysql4
  • Mage_Reports_Model_Resource_Invoiced_Collection
  • Mage_Reports_Model_Resource_Order_Collection
  • Mage_Reports_Model_Resource_Product_Collection
  • Mage_Reports_Model_Resource_Product_Downloads_Collection
  • Mage_Reports_Model_Resource_Product_Index_Abstract
  • Mage_Reports_Model_Resource_Product_Index_Collection_Abstract
  • Mage_Reports_Model_Resource_Product_Index_Compared
  • Mage_Reports_Model_Resource_Product_Index_Compared_Collection
  • Mage_Reports_Model_Resource_Product_Index_Viewed
  • Mage_Reports_Model_Resource_Product_Index_Viewed_Collection
  • Mage_Reports_Model_Resource_Product_Lowstock_Collection
  • Mage_Reports_Model_Resource_Product_Ordered_Collection
  • Mage_Reports_Model_Resource_Product_Sold_Collection
  • Mage_Reports_Model_Resource_Product_Viewed_Collection
  • Mage_Reports_Model_Resource_Quote_Collection
  • Mage_Reports_Model_Resource_Refunded_Collection
  • Mage_Reports_Model_Resource_Report_Abstract
  • Mage_Reports_Model_Resource_Report_Collection
  • Mage_Reports_Model_Resource_Report_Collection_Abstract
  • Mage_Reports_Model_Resource_Report_Product_Viewed
  • Mage_Reports_Model_Resource_Report_Product_Viewed_Collection
  • Mage_Reports_Model_Resource_Review_Collection
  • Mage_Reports_Model_Resource_Review_Customer_Collection
  • Mage_Reports_Model_Resource_Review_Product_Collection
  • Mage_Reports_Model_Resource_Shipping_Collection
  • Mage_Reports_Model_Resource_Shopcart_Product_Collection
  • Mage_Reports_Model_Resource_Tag_Collection
  • Mage_Reports_Model_Resource_Tag_Customer_Collection
  • Mage_Reports_Model_Resource_Tag_Product_Collection
  • Mage_Reports_Model_Resource_Tax_Collection
  • Mage_Reports_Model_Resource_Wishlist_Collection
  • Mage_Reports_Model_Resource_Wishlist_Product_Collection
  • Mage_Reports_Model_Session
  • Mage_Reports_Model_Test
  • Mage_Reports_Model_Totals

Interfaces

  • Mage_Reports_Model_Resource_Helper_Interface
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Reports_Model_Resource_Customer_Collection

Customers Report collection

Varien_Data_Collection_Db
Extended by Mage_Eav_Model_Entity_Collection_Abstract
Extended by Mage_Customer_Model_Resource_Customer_Collection
Extended by Mage_Reports_Model_Resource_Customer_Collection

Direct known subclasses

Mage_Reports_Model_Mysql4_Customer_Collection, Mage_Reports_Model_Resource_Accounts_Collection

Indirect known subclasses

Mage_Reports_Model_Mysql4_Accounts_Collection
Package: Mage\Reports
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Reports/Model/Resource/Customer/Collection.php
Methods summary
public Mage_Reports_Model_Resource_Customer_Collection
# addCartInfo( )

Add cart info to collection

Add cart info to collection

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# addCustomerName( )

Add customer name to results

Add customer name to results

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# joinOrders( string $from = '', string $to = '' )

Order for each customer

Order for each customer

Parameters

$from
string
$from
$to
string
$to

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# addOrdersCount( )

Add orders count

Add orders count

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# addSumAvgTotals( integer $storeId = 0 )

Order summary info for each customer such as orders_count, orders_avg_amount, orders_total_amount

Order summary info for each customer such as orders_count, orders_avg_amount, orders_total_amount

Parameters

$storeId
integer
$storeId

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# orderByTotalAmount( string $dir = self::SORT_ORDER_DESC )

Order by total amount

Order by total amount

Parameters

$dir
string
$dir

Returns

Mage_Reports_Model_Resource_Customer_Collection
public Mage_Reports_Model_Resource_Customer_Collection
# addOrdersStatistics( boolean $isFilter = false )

Add order statistics

Add order statistics

Parameters

$isFilter
boolean
$isFilter

Returns

Mage_Reports_Model_Resource_Customer_Collection
protected Mage_Reports_Model_Resource_Customer_Collection
# _addOrdersStatistics( )

Add orders statistics to collection items

Add orders statistics to collection items

Returns

Mage_Reports_Model_Resource_Customer_Collection
protected Mage_Reports_Model_Resource_Customer_Collection
# _afterLoad( )

Collection after load operations like adding orders statistics

Collection after load operations like adding orders statistics

Returns

Mage_Reports_Model_Resource_Customer_Collection

Overrides

Mage_Eav_Model_Entity_Collection_Abstract::_afterLoad()
public Mage_Reports_Model_Resource_Customer_Collection
# orderByCustomerRegistration( string $dir = self::SORT_ORDER_DESC )

Order by customer registration

Order by customer registration

Parameters

$dir
string
$dir

Returns

Mage_Reports_Model_Resource_Customer_Collection
public string
# getSelectCountSql( )

Get select count sql

Get select count sql

Returns

string

Overrides

Mage_Customer_Model_Resource_Customer_Collection::getSelectCountSql()
Methods inherited from Mage_Customer_Model_Resource_Customer_Collection
_construct(), _getAllIdsSelect(), addNameToSelect(), groupByEmail()
Methods inherited from Mage_Eav_Model_Entity_Collection_Abstract
__construct(), _addAttributeJoin(), _addLoadAttributesSelectValues(), _getAttributeConditionSql(), _getAttributeFieldName(), _getAttributeTableAlias(), _getLoadAttributesSelect(), _init(), _initSelect(), _joinAttributeToSelect(), _loadAttributes(), _loadEntities(), _prepareOrderExpression(), _prepareSelect(), _prepareStaticFields(), _renderOrders(), _reset(), _setItemAttributeValue(), addAttributeToFilter(), addAttributeToSelect(), addAttributeToSort(), addEntityTypeToSelect(), addExpressionAttributeToSelect(), addFieldToFilter(), addItem(), addStaticField(), delete(), exportToArray(), getAllIds(), getAllIdsSql(), getAttribute(), getEntity(), getLoadedIds(), getResource(), getRowIdFieldName(), getTable(), groupByAttribute(), importFromArray(), joinAttribute(), joinField(), joinTable(), load(), removeAttributeToSelect(), save(), setEntity(), setObject(), setOrder(), setPage(), setRowIdFieldName(), toArray()
Properties summary
protected boolean $_addOrderStatistics false
#

Add order statistics flag

Add order statistics flag

protected boolean $_addOrderStatisticsIsFilter false
#

Add order statistics is filter flag

Add order statistics is filter flag

protected string $_customerIdTableName
#

Customer id table name

Customer id table name

protected string $_customerIdFieldName
#

Customer id field name

Customer id field name

protected string $_orderEntityTableName
#

Order entity table name

Order entity table name

protected string $_orderEntityFieldName
#

Order entity field name

Order entity field name

Properties inherited from Mage_Eav_Model_Entity_Collection_Abstract
$_castToIntMap, $_entity, $_filterAttributes, $_itemsById, $_joinAttributes, $_joinEntities, $_joinFields, $_selectAttributes, $_selectEntityTypes, $_staticFields, $_useAnalyticFunction
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0