Mage_Reports_Model_Report Class Reference

Inheritance diagram for Mage_Reports_Model_Report:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Public Member Functions

 initCollection ($modelClass)
 getReportFull ($from, $to)
 getReport ($from, $to)

Protected Attributes

 $_reportModel


Detailed Description

Definition at line 27 of file Report.php.


Member Function Documentation

getReport ( from,
to 
)

Definition at line 46 of file Report.php.

00047     {
00048         return $this->_reportModel
00049             ->setDateRange($from, $to)
00050             ->setPageSize($this->getPageSize())
00051             ->setStoreIds($this->getStoreIds());
00052     }

getReportFull ( from,
to 
)

Definition at line 38 of file Report.php.

00039     {
00040         return $this->_reportModel
00041             ->setDateRange($from, $to)
00042             ->setPageSize(false)
00043             ->setStoreIds($this->getStoreIds());
00044     }

initCollection ( modelClass  ) 

Definition at line 31 of file Report.php.

00032     {
00033         $this->_reportModel = Mage::getResourceModel($modelClass);
00034 
00035         return $this;
00036     }


Member Data Documentation

$_reportModel [protected]

Definition at line 29 of file Report.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:37 2009 for Magento by  doxygen 1.5.8