Class Mage_Catalog_Model_Resource_Eav_Attribute

Description

Catalog attribute model

Located in /Catalog/Model/Resource/Eav/Attribute.php (line 34)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Eav_Model_Entity_Attribute_Abstract
         |
         --Mage_Eav_Model_Entity_Attribute
            |
            --Mage_Catalog_Model_Resource_Eav_Attribute
Class Constant Summary
ENTITY = 'catalog_eav_attribute'
MODULE_NAME = 'Mage_Catalog'
Variable Summary
static array $_labels
Method Summary
Variables
Methods
static method initLabels (line 270)

Initialize store Labels for attributes

  • deprecated:
  • access: public
static void initLabels ([int $storeId = null])
  • int $storeId
afterCommitCallback (line 107)

Init indexing process after attribute data commit

  • access: public

Redefinition of:
Mage_Core_Model_Abstract::afterCommitCallback()
Callback function which called after transaction commit in resource model
getApplyTo (line 202)

Retrieve apply to products array Return empty array if applied to all products

  • access: public
array getApplyTo ()
getFrontendLabel (line 246)

Retrieve don't translated frontend label

  • access: public
string getFrontendLabel ()
getIndexType (line 333)

Retrieve index type for indexable attribute

  • access: public
string|false getIndexType ()
getIsGlobal (line 148)

Return is attribute global

  • access: public
integer getIsGlobal ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Abstract::getIsGlobal()
Return is attribute global
getSourceModel (line 219)

Retrieve source model

  • access: public
getStoreId (line 188)

Retrieve store id

  • access: public
int getStoreId ()
isAllowedForRuleCondition (line 235)

Check is allow for rule condition

  • access: public
bool isAllowedForRuleCondition ()
isIndexable (line 303)

Check is an attribute used in EAV index

  • access: public
bool isIndexable ()
isScopeGlobal (line 158)

Retrieve attribute is global scope flag

  • access: public
bool isScopeGlobal ()
isScopeStore (line 178)

Retrieve attribute is store scope flag

  • access: public
bool isScopeStore ()
isScopeWebsite (line 168)

Retrieve attribute is website scope website

  • access: public
bool isScopeWebsite ()
_afterDeleteCommit (line 135)

Init indexing process after catalog eav attribute delete commit

  • access: protected

Redefinition of:
Mage_Core_Model_Abstract::_afterDeleteCommit()
Processing manipulation after main transaction commit
_afterSave (line 93)

Processing object after save data

  • access: protected
Mage_Core_Model_Abstract _afterSave ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute::_afterSave()
_beforeDelete (line 122)

Register indexing event before delete catalog eav attribute

  • access: protected

Redefinition of:
Mage_Eav_Model_Entity_Attribute::_beforeDelete()
_beforeSave (line 63)

Processing object before save data

  • access: protected
Mage_Core_Model_Abstract _beforeSave ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute::_beforeSave()
_construct (line 53)
  • access: protected
void _construct ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Abstract::_construct()
Initialize resource model
_getDefaultSourceModel (line 293)

Get default attribute source model

  • access: public
string _getDefaultSourceModel ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute::_getDefaultSourceModel()
_getLabelForStore (line 257)

Get Attribute translated label for store

  • deprecated:
  • access: protected
string _getLabelForStore ()

Inherited Methods

Inherited From Mage_Eav_Model_Entity_Attribute

Mage_Eav_Model_Entity_Attribute::deleteEntity()
Mage_Eav_Model_Entity_Attribute::getAttributeCodesByFrontendType()
Mage_Eav_Model_Entity_Attribute::getBackendTypeByInput()
Mage_Eav_Model_Entity_Attribute::getDefaultValueByInput()
Mage_Eav_Model_Entity_Attribute::getStoreLabel()
Mage_Eav_Model_Entity_Attribute::getStoreLabels()
Mage_Eav_Model_Entity_Attribute::_afterSave()
Mage_Eav_Model_Entity_Attribute::_beforeDelete()
Mage_Eav_Model_Entity_Attribute::_beforeSave()
Mage_Eav_Model_Entity_Attribute::_getDefaultBackendModel()
Mage_Eav_Model_Entity_Attribute::_getDefaultFrontendModel()
Mage_Eav_Model_Entity_Attribute::_getDefaultSourceModel()

Inherited From Mage_Eav_Model_Entity_Attribute_Abstract

Mage_Eav_Model_Entity_Attribute_Abstract::getAlias()
Mage_Eav_Model_Entity_Attribute_Abstract::getAttributeCode()
Mage_Eav_Model_Entity_Attribute_Abstract::getAttributeId()
Mage_Eav_Model_Entity_Attribute_Abstract::getAttributeModel()
Mage_Eav_Model_Entity_Attribute_Abstract::getAttributeSetId()
Mage_Eav_Model_Entity_Attribute_Abstract::getBackend()
Mage_Eav_Model_Entity_Attribute_Abstract::getBackendModel()
Mage_Eav_Model_Entity_Attribute_Abstract::getBackendTable()
Mage_Eav_Model_Entity_Attribute_Abstract::getBackendType()
Mage_Eav_Model_Entity_Attribute_Abstract::getConfig()
Mage_Eav_Model_Entity_Attribute_Abstract::getDefaultValue()
Mage_Eav_Model_Entity_Attribute_Abstract::getEntity()
Mage_Eav_Model_Entity_Attribute_Abstract::getEntityIdField()
Mage_Eav_Model_Entity_Attribute_Abstract::getEntityType()
Mage_Eav_Model_Entity_Attribute_Abstract::getEntityTypeId()
Mage_Eav_Model_Entity_Attribute_Abstract::getFlatColumns()
Mage_Eav_Model_Entity_Attribute_Abstract::getFlatIndexes()
Mage_Eav_Model_Entity_Attribute_Abstract::getFlatUpdateSelect()
Mage_Eav_Model_Entity_Attribute_Abstract::getFrontend()
Mage_Eav_Model_Entity_Attribute_Abstract::getIdByCode()
Mage_Eav_Model_Entity_Attribute_Abstract::getIsGlobal()
Mage_Eav_Model_Entity_Attribute_Abstract::getIsVisibleOnFront()
Mage_Eav_Model_Entity_Attribute_Abstract::getName()
Mage_Eav_Model_Entity_Attribute_Abstract::getSource()
Mage_Eav_Model_Entity_Attribute_Abstract::isInGroup()
Mage_Eav_Model_Entity_Attribute_Abstract::isInSet()
Mage_Eav_Model_Entity_Attribute_Abstract::isStatic()
Mage_Eav_Model_Entity_Attribute_Abstract::isValueEmpty()
Mage_Eav_Model_Entity_Attribute_Abstract::loadByCode()
Mage_Eav_Model_Entity_Attribute_Abstract::setAttributeCode()
Mage_Eav_Model_Entity_Attribute_Abstract::setAttributeId()
Mage_Eav_Model_Entity_Attribute_Abstract::setAttributeModel()
Mage_Eav_Model_Entity_Attribute_Abstract::setAttributeSetId()
Mage_Eav_Model_Entity_Attribute_Abstract::setBackendModel()
Mage_Eav_Model_Entity_Attribute_Abstract::setBackendTable()
Mage_Eav_Model_Entity_Attribute_Abstract::setBackendType()
Mage_Eav_Model_Entity_Attribute_Abstract::setEntity()
Mage_Eav_Model_Entity_Attribute_Abstract::setEntityType()
Mage_Eav_Model_Entity_Attribute_Abstract::setEntityTypeId()
Mage_Eav_Model_Entity_Attribute_Abstract::setName()
Mage_Eav_Model_Entity_Attribute_Abstract::usesSource()
Mage_Eav_Model_Entity_Attribute_Abstract::_construct()
Mage_Eav_Model_Entity_Attribute_Abstract::_getDefaultBackendModel()
Mage_Eav_Model_Entity_Attribute_Abstract::_getDefaultFrontendModel()
Mage_Eav_Model_Entity_Attribute_Abstract::_getDefaultSourceModel()

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()
Class Constants
ENTITY = 'catalog_eav_attribute' (line 41)
MODULE_NAME = 'Mage_Catalog' (line 40)
SCOPE_GLOBAL = 1 (line 37)
SCOPE_STORE = 0 (line 36)
SCOPE_WEBSITE = 2 (line 38)

Inherited Constants

Inherited from Mage_Eav_Model_Entity_Attribute

Mage_Eav_Model_Entity_Attribute::CACHE_TAG

Inherited from Mage_Eav_Model_Entity_Attribute_Abstract

Mage_Eav_Model_Entity_Attribute_Abstract::TYPE_STATIC

Documentation generated on Fri, 11 Feb 2011 16:56:49 +0200 by phpDocumentor 1.4.3