Class Mage_Rule_Model_Resource_Abstract
Abstract Rule entity resource model
- Mage_Core_Model_Resource_Abstract
- Mage_Core_Model_Resource_Db_Abstract
- Mage_Rule_Model_Resource_Abstract
Indirect known subclasses
Mage_CatalogRule_Model_Mysql4_Rule, Mage_Rule_Model_Mysql4_Rule, Mage_SalesRule_Model_Mysql4_Rule
Abstract
Package: Mage\Rule
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/Rule/Model/Resource/Abstract.php
Package: Mage\Rule
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/Rule/Model/Resource/Abstract.php
public
|
|
public
|
#
bindRuleToEntity( array|integer|string $ruleIds, array|integer|string $entityIds, string $entityType )
Bind specified rules to entities |
public
|
#
unbindRuleFromEntity( array|integer|string $ruleIds = array(), array|integer|string $entityIds = array(), string $entityType )
Unbind specified rules from entities |
public
array
|
#
getAssociatedEntityIds( integer $ruleId, string $entityType )
Retrieve rule's associated entity Ids by entity type |
public
array
|
|
public
array
|
|
protected
array
|
#
_getAssociatedEntityInfo( string $entityType )
Retrieve correspondent entity information (associations table name, columns names) of rule's associated entity by specified entity type |
protected
array
|
$_associatedEntitiesMap | array() |
#
Store associated with rule entities information map |
$_commitCallbacks
|