Class Mage_SalesRule_Model_Resource_Report_Rule
Rule report resource model
-
Mage_Core_Model_Resource_Abstract
-
Mage_Core_Model_Resource_Db_Abstract
-
Mage_Reports_Model_Resource_Report_Abstract
-
Mage_SalesRule_Model_Resource_Report_Rule
Methods summary
protected
|
#
_construct( )
Resource Report Rule constructor
Resource Report Rule constructor
|
public
Mage_SalesRule_Model_Resource_Report_Rule
|
#
aggregate( mixed $from = null, mixed $to = null )
Aggregate Coupons data
Parameters
- $from
mixed $from
- $to
mixed $to
Returns
|
public
array
|
#
getUniqRulesNamesList( )
Get all unique Rule Names from aggregated coupons usage data
Get all unique Rule Names from aggregated coupons usage data
Returns
array
|
Methods inherited from Mage_Reports_Model_Resource_Report_Abstract
_checkDates(),
_clearTableByDateRange(),
_dateToUtc(),
_getFlag(),
_getFlagData(),
_getStoreTimezoneUtcOffset(),
_getTZOffsetTransitions(),
_getTableDateRangeRelatedSelect(),
_getTableDateRangeSelect(),
_makeConditionFromDateRangeSelect(),
_setFlagData(),
_truncateTable(),
getStoreTZOffsetQuery()
|
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(),
_prepareDataForTable(),
_prepareTableValueForSave(),
_serializeField(),
_unserializeField(),
addCommitCallback(),
beginTransaction(),
commit(),
formatDate(),
mktime(),
rollBack()
|
Properties inherited from Mage_Core_Model_Resource_Db_Abstract
$_connections,
$_fieldsForUpdate,
$_idFieldName,
$_isPkAutoIncrement,
$_mainTable,
$_mainTableFields,
$_resourceModel,
$_resourcePrefix,
$_resources,
$_serializableFields,
$_tables,
$_uniqueFields,
$_useIsObjectNew
|