Class Mage_Tag_Model_Tag_Relation
Tag relation model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Tag_Model_Tag_Relation
Package: Mage\Tag
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/Tag/Model/Tag/Relation.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/Tag/Model/Tag/Relation.php
protected
|
|
protected
|
|
public
|
|
public
|
#
loadByTagCustomer( integer $productId = null, integer $tagId, integer $customerId, integer $storeId = null )
Load relation by Product (optional), tag, customer and store |
public
array
|
|
public
array
|
|
public
|
|
public
|
#
addRelations(
Add TAG to PRODUCT relations |
integer |
STATUS_ACTIVE
|
1 |
#
Relation statuses |
integer |
STATUS_NOT_ACTIVE
|
0 |
|
string |
ENTITY
|
'tag_relation' |
#
Entity code. Can be used as part of method name for entity processing |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|