
Public Member Functions | |
| setDateRange ($from, $to) | |
| setStoreIds ($storeIds) | |
Protected Member Functions | |
| _joinFields ($from= '', $to= '') | |
Definition at line 35 of file Collection.php.
| _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 }
1.5.8