Mage_Reports_Model_Mysql4_Product_Viewed_Collection Class Reference

Inheritance diagram for Mage_Reports_Model_Mysql4_Product_Viewed_Collection:

Mage_Reports_Model_Mysql4_Product_Collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract Mage_Eav_Model_Entity_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 setDateRange ($from, $to)
 setStoreIds ($storeIds)

Protected Member Functions

 _joinFields ($from= '', $to= '')


Detailed Description

Definition at line 35 of file Collection.php.


Member Function Documentation

_joinFields ( from = '',
to = '' 
) [protected]

Definition at line 37 of file Collection.php.

00038     {
00039         $this->addAttributeToSelect('*')
00040             ->addViewsCount($from, $to);
00041         return $this;
00042     }

setDateRange ( from,
to 
)

Definition at line 44 of file Collection.php.

00045     {
00046         $this->_reset()
00047             ->_joinFields($from, $to);
00048         return $this;
00049     }

setStoreIds ( storeIds  ) 

Definition at line 51 of file Collection.php.

00052     {
00053         $storeId = array_pop($storeIds);
00054         $this->setStoreId($storeId);
00055         $this->addStoreFilter($storeId);
00056         return $this;
00057     }


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