Class Mage_CatalogRule_Model_Rule
Catalog Rule data model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Rule_Model_Abstract
- Mage_CatalogRule_Model_Rule
Package: Mage\CatalogRule
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogRule/Model/Rule.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogRule/Model/Rule.php
protected
|
|
public
|
|
public
|
|
public
array
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
|
public
|
#
applyToProduct( integer|
Apply rule to product |
public
|
|
public
|
#
applyAllRulesToProduct( integer|
Apply all price rules to product |
public
float|null
|
#
calcProductPriceRule(
Calculate price using catalog price rule of product |
public
|
#
setProductsFilter( integer|array $productIds )
Filtering products that must be checked for matching with rule |
public
array|integer|null
|
|
protected
|
string |
XML_NODE_RELATED_CACHE
|
'global/catalogrule/related_cache_types' |
#
Related cache types config path |
protected
string
|
$_eventPrefix | 'catalogrule_rule' |
#
Prefix of model events names |
protected
string
|
$_eventObject | 'rule' |
#
Parameter name in event |
protected
array
|
$_productIds |
|
#
Store matched product Ids |
protected
integer|array|null
|
$_productsFilter | null |
#
Limitation for products collection |
protected
string
|
$_now |
|
#
Store current date at "Y-m-d H:i:s" format |
protected static
array
|
$_priceRulesData | array() |
#
Cached data of prices calculated by price rules |
$_actions,
$_conditions,
$_form,
$_isDeleteable,
$_isReadonly
|
$_cacheTag,
$_dataSaveAllowed,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|