Mage_CatalogRule_Model_Mysql4_Rule_Product_Price_Collection Class Reference

Inheritance diagram for Mage_CatalogRule_Model_Mysql4_Rule_Product_Price_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 getProductIds ()

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 28 of file Collection.php.


Member Function Documentation

_construct (  )  [protected]

Initialization here

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 30 of file Collection.php.

00031     {
00032         parent::_construct();
00033         $this->_init('catalogrule/rule_product_price');
00034     }

getProductIds (  ) 

Definition at line 36 of file Collection.php.

00037     {
00038         $idsSelect = clone $this->getSelect();
00039         $idsSelect->reset(Zend_Db_Select::ORDER);
00040         $idsSelect->reset(Zend_Db_Select::LIMIT_COUNT);
00041         $idsSelect->reset(Zend_Db_Select::LIMIT_OFFSET);
00042         $idsSelect->reset(Zend_Db_Select::COLUMNS);
00043         $idsSelect->from(null, 'main_table.product_id');
00044         $idsSelect->distinct(true);
00045         return $this->getConnection()->fetchCol($idsSelect);
00046     }


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

Generated on Sat Jul 4 17:23:48 2009 for Magento by  doxygen 1.5.8