Class Mage_Tag_Model_Tag
Tag model
- Varien_Object
-
Mage_Core_Model_Abstract
-
Mage_Tag_Model_Tag
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.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.php
protected
|
|
public
|
|
public
|
|
public
boolean
|
|
protected
|
#
_getProductEventTagsCollection( Varien_Event_Observer $observer )
Product event tags collection getter |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
boolean
|
|
protected
|
|
public
string
|
#
saveRelation( integer $productId, integer $customerId, integer $storeId )
Save tag relation with product, customer and store |
protected
boolean
|
#
_checkLinkBetweenTagProduct(
Check whether product is already marked in store with tag |
protected
boolean
|
#
_checkLinkBetweenTagCustomerProduct(
Check whether product is already marked in store with tag by customer |
protected
|
#
_getLinkBetweenTagCustomerProduct(
Get relation model for product marked in store with tag by customer |
integer |
STATUS_DISABLED
|
-1 |
|
integer |
STATUS_PENDING
|
0 |
|
integer |
STATUS_APPROVED
|
1 |
|
string |
ADD_STATUS_SUCCESS
|
'success' |
|
string |
ADD_STATUS_NEW
|
'new' |
|
string |
ADD_STATUS_EXIST
|
'exist' |
|
string |
ADD_STATUS_REJECTED
|
'rejected' |
|
string |
ENTITY
|
'tag' |
#
Entity code. Can be used as part of method name for entity processing |
protected
string
|
$_eventPrefix | 'tag' |
#
Event prefix for observer |
protected
boolean
|
$_addBasePopularity | false |
#
This flag means should we or not add base popularity on tag load |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|