Class Mage_SalesRule_Model_Mysql4_Rule_Collection

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /SalesRule/Model/Mysql4/Rule/Collection.php (line 28)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_SalesRule_Model_Mysql4_Rule_Collection
Method Summary
void setValidationFilter ( $websiteId,  $customerGroupId, [ $couponCode = ''], [ $now = null])
void _construct ()
unknown _initSelect ()
Variables
Methods
addAttributeInConditionFilter (line 115)

Find product attribute in conditions or actions

  • access: public
Mage_CatalogRule_Model_Mysql4_Rule_Collection addAttributeInConditionFilter (string $attributeCode)
  • string $attributeCode
addWebsiteFilter (line 77)

Filter collection by specified website IDs

  • access: public
Mage_CatalogRule_Model_Mysql4_Rule_Collection addWebsiteFilter (int|array $websiteIds)
  • int|array $websiteIds
setValidationFilter (line 36)
  • access: public
void setValidationFilter ( $websiteId,  $customerGroupId, [ $couponCode = ''], [ $now = null])
  • $websiteId
  • $customerGroupId
  • $couponCode
  • $now
_construct (line 30)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here
_initSelect (line 97)

Init collection select

  • access: public
unknown _initSelect ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Init collection select

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:58:15 +0200 by phpDocumentor 1.4.3