*/ class Mage_SalesRule_Model_Resource_Report_Rule_Updatedat extends Mage_SalesRule_Model_Resource_Report_Rule_Createdat { /** * Resource Report Rule constructor * */ protected function _construct() { $this->_init('salesrule/coupon_aggregated_updated', 'id'); } /** * Aggregate Coupons data by order updated at * * @param mixed $from * @param mixed $to * @return Mage_SalesRule_Model_Resource_Report_Rule_Updatedat */ public function aggregate($from = null, $to = null) { return $this->_aggregateByOrder('updated_at', $from, $to); } }