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_Report_Abstract

Abstract report aggregate resource model

Mage_Core_Model_Resource_Abstract
Extended by Mage_Core_Model_Resource_Db_Abstract
Extended by Mage_Reports_Model_Resource_Report_Abstract

Direct known subclasses

Mage_Reports_Model_Mysql4_Report_Abstract, Mage_Sales_Model_Resource_Report_Abstract, Mage_SalesRule_Model_Resource_Report_Rule, Mage_SalesRule_Model_Resource_Report_Rule_Createdat, Mage_Tax_Model_Resource_Report_Tax, Mage_Tax_Model_Resource_Report_Tax_Createdat

Indirect known subclasses

Mage_Reports_Model_Resource_Report_Product_Viewed, Mage_Sales_Model_Mysql4_Report_Abstract, Mage_Sales_Model_Resource_Report_Order_Createdat, Mage_Sales_Model_Resource_Report_Order_Updatedat, Mage_Sales_Model_Resource_Report_Refunded, Mage_Sales_Model_Resource_Report_Shipping, Mage_SalesRule_Model_Mysql4_Report_Rule, Mage_SalesRule_Model_Resource_Report_Rule_Updatedat, Mage_Tax_Model_Mysql4_Report_Tax, Mage_Tax_Model_Resource_Report_Tax_Updatedat, Mage_Sales_Model_Mysql4_Report_Bestsellers, Mage_Sales_Model_Mysql4_Report_Invoiced, Mage_Sales_Model_Mysql4_Report_Order, Mage_Sales_Model_Mysql4_Report_Refunded, Mage_Sales_Model_Mysql4_Report_Shipping, Mage_Sales_Model_Resource_Report_Bestsellers, Mage_Sales_Model_Resource_Report_Invoiced, Mage_Sales_Model_Resource_Report_Order
Abstract
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/Report/Abstract.php
Methods summary
protected Mage_Reports_Model_Flag
# _getFlag( )

Retrive flag object

Retrive flag object

Returns

Mage_Reports_Model_Flag
protected Mage_Reports_Model_Resource_Report_Abstract
# _setFlagData( string $code, mixed $value = null )

Saves flag

Saves flag

Parameters

$code
string
$code
$value
mixed
$value

Returns

Mage_Reports_Model_Resource_Report_Abstract
protected mixed
# _getFlagData( string $code )

Retrieve flag data

Retrieve flag data

Parameters

$code
string
$code

Returns

mixed
protected Mage_Reports_Model_Resource_Report_Abstract
# _truncateTable( string $table )

Trancate table

Trancate table

Parameters

$table
string
$table

Returns

Mage_Reports_Model_Resource_Report_Abstract
protected Mage_Reports_Model_Resource_Report_Abstract
# _clearTableByDateRange( string $table, string|null $from = null, string|null $to = null, Zend_Db_Select|string|null $subSelect = null, unknown_type $doNotUseTruncate = false )

Clear report table by specified date range. If specified source table parameters, condition will be generated by source table subselect.

Clear report table by specified date range. If specified source table parameters, condition will be generated by source table subselect.

Parameters

$table
string
$table
$from
string|null
$from
$to
string|null
$to
$subSelect
Zend_Db_Select|string|null
$subSelect
$doNotUseTruncate
unknown_type
$doNotUseTruncate

Returns

Mage_Reports_Model_Resource_Report_Abstract
protected Varien_Db_Select
# _getTableDateRangeSelect( string $table, string $column, string $whereColumn, string|null $from = null, string|null $to = null, array $additionalWhere = array(), unknown_type $alias = 'date_range_table' )

Generate table date range select

Generate table date range select

Parameters

$table
string
$table
$column
string
$column
$whereColumn
string
$whereColumn
$from
string|null
$from
$to
string|null
$to
$additionalWhere
array
$additionalWhere
$alias
unknown_type
$alias

Returns

Varien_Db_Select
protected unknown
# _makeConditionFromDateRangeSelect( Varien_Db_Select $select, string $periodColumn )

Make condition for using in where section from select statement with single date column

Make condition for using in where section from select statement with single date column

Parameters

$select
Varien_Db_Select
$select
$periodColumn
string
$periodColumn

Returns

unknown

Result

string|false
protected Varien_Db_Select
# _getTableDateRangeRelatedSelect( string $table, string $relatedTable, array $joinCondition, string $column, string $whereColumn, string|null $from = null, string|null $to = null, array $additionalWhere = array(), unknown_type $alias = 'date_range_table', unknown_type $relatedAlias = 'related_date_range_table' )

Generate table date range select

Generate table date range select

Parameters

$table
string
$table
$relatedTable
string
$relatedTable
$joinCondition
array
$joinCondition
$column
string
$column
$whereColumn
string
$whereColumn
$from
string|null
$from
$to
string|null
$to
$additionalWhere
array
$additionalWhere
$alias
unknown_type
$alias
$relatedAlias
unknown_type
$relatedAlias

Returns

Varien_Db_Select
protected Mage_Reports_Model_Resource_Report_Abstract
# _checkDates( mixed & $from, mixed & $to )

Check range dates and transforms it to strings

Check range dates and transforms it to strings

Parameters

$from
mixed
$from
$to
mixed
$to

Returns

Mage_Reports_Model_Resource_Report_Abstract
public string
# getStoreTZOffsetQuery( string|array $table, string $column, mixed $from = null, mixed $to = null, integer|string|Mage_Core_Model_Store|null $store = null )

Retrieve query for attribute with timezone conversion

Retrieve query for attribute with timezone conversion

Parameters

$table
string|array
$table
$column
string
$column
$from
mixed
$from
$to
mixed
$to
$store
integer|string|Mage_Core_Model_Store|null
$store

Returns

string
protected array
# _getTZOffsetTransitions( string $timezone, mixed $from = null, mixed $to = null )

Retrieve transitions for offsets of given timezone

Retrieve transitions for offsets of given timezone

Parameters

$timezone
string
$timezone
$from
mixed
$from
$to
mixed
$to

Returns

array
protected string
# _getStoreTimezoneUtcOffset( unknown_type $store = null )

Retrieve store timezone offset from UTC in the form acceptable by SQL's CONVERT_TZ()

Retrieve store timezone offset from UTC in the form acceptable by SQL's CONVERT_TZ()

Parameters

$store
unknown_type
$store

Returns

string
protected Zend_Date|null
# _dateToUtc( unknown_type $date )

Retrieve date in UTC timezone

Retrieve date in UTC timezone

Parameters

$date
unknown_type
$date

Returns

Zend_Date|null
Methods inherited from Mage_Core_Model_Resource_Db_Abstract
_afterDelete(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeSave(), _checkUnique(), _getConnection(), _getLoadSelect(), _getReadAdapter(), _getWriteAdapter(), _init(), _initUniqueFields(), _prepareDataForSave(), _prepareValueForSave(), _serializeFields(), _setMainTable(), _setResource(), addUniqueField(), afterLoad(), delete(), getChecksum(), getIdFieldName(), getMainTable(), getReadConnection(), getTable(), getUniqueFields(), getValueTable(), hasDataChanged(), load(), resetUniqueField(), save(), unserializeFields()
Methods inherited from Mage_Core_Model_Resource_Abstract
__construct(), _construct(), _prepareDataForTable(), _prepareTableValueForSave(), _serializeField(), _unserializeField(), addCommitCallback(), beginTransaction(), commit(), formatDate(), mktime(), rollBack()
Properties summary
protected Mage_Reports_Model_Flag $_flag null
#

Flag object

Flag object

Properties inherited from Mage_Core_Model_Resource_Db_Abstract
$_connections, $_fieldsForUpdate, $_idFieldName, $_isPkAutoIncrement, $_mainTable, $_mainTableFields, $_resourceModel, $_resourcePrefix, $_resources, $_serializableFields, $_tables, $_uniqueFields, $_useIsObjectNew
Properties inherited from Mage_Core_Model_Resource_Abstract
$_commitCallbacks
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0