Mage_Sitemap_Model_Mysql4_Sitemap_Collection Class Reference

Inheritance diagram for Mage_Sitemap_Model_Mysql4_Sitemap_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 _construct ()
 addStoreFilter ($storeIds)


Detailed Description

Definition at line 35 of file Collection.php.


Member Function Documentation

_construct (  ) 

Init collection

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 41 of file Collection.php.

00042     {
00043         $this->_init('sitemap/sitemap');
00044     }

addStoreFilter ( storeIds  ) 

Filter collection by specified store ids

Parameters:
array|int $storeIds
Returns:
Mage_Sitemap_Model_Mysql4_Sitemap_Collection

Definition at line 52 of file Collection.php.

00053     {
00054         $this->getSelect()->where('main_table.store_id IN (?)', $storeIds);
00055         return $this;
00056     }


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

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