Class Mage_Eav_Model_Mysql4_Entity_Attribute

Description

EAV attribute model

Located in /Eav/Model/Mysql4/Entity/Attribute.php (line 34)

Mage_Core_Model_Resource_Abstract
   |
   --Mage_Core_Model_Mysql4_Abstract
      |
      --Mage_Eav_Model_Mysql4_Entity_Attribute
Direct descendents
Class Description
Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute Catalog attribute resource model
Mage_Customer_Model_Entity_Attribute Customer attribute resource model
Variable Summary
static mixed $_entityAttributes
Method Summary
Variables
Methods
deleteEntity (line 119)

Enter description here...

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute deleteEntity ( $object)
describeTable (line 476)

Describe table

  • access: public
array describeTable (string $table)
  • string $table
getAdditionalAttributeTable (line 486)

Retrieve additional attribute table name for specified entity type

  • access: public
string getAdditionalAttributeTable (integer $entityTypeId)
  • integer $entityTypeId
getAttributeCodesByFrontendType (line 421)
  • access: public
void getAttributeCodesByFrontendType ( $type)
  • $type
getFlatUpdateSelect (line 444)

Retrieve Select For Flat Attribute update

  • access: public
Varien_Db_Select getFlatUpdateSelect (Mage_Eav_Model_Entity_Attribute_Abstract $attribute, int $store)
getIdByCode (line 410)

Return attribute id

  • access: public
int getIdByCode (string $entityType, string $code)
  • string $entityType
  • string $code
getStoreLabelsByAttributeId (line 522)

Retrieve store labels by given attribute id

  • access: public
array getStoreLabelsByAttributeId (integer $attributeId)
  • integer $attributeId
getValidAttributeIds (line 540)

Load by given attributes ids and return only exist attribute ids

  • access: public
array getValidAttributeIds (array $attributeIds)
  • array $attributeIds
isUsedBySuperProducts (line 384)
  • access: public
void isUsedBySuperProducts ( $object, [ $attributeSet = null])
loadByCode (line 78)

Enter description here...

  • access: public
boolean loadByCode ( $object, int $entityTypeId, string $code)
saveInSetIncluding (line 271)

Enter description here...

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute saveInSetIncluding ( $object)
_afterLoad (line 498)

Load additional attribute data.

Load label of current active store

  • access: protected
  • Varien_Object $object

Redefinition of:
Mage_Core_Model_Mysql4_Abstract::_afterLoad()
Perform actions after object load
_afterSave (line 193)

Enter description here...

  • access: protected

Redefinition of:
Mage_Core_Model_Mysql4_Abstract::_afterSave()
Perform actions after object save

Redefined in descendants as:
_beforeSave (line 164)

Enter description here...

  • access: protected
Mage_Eav_Model_Mysql4_Entity_Attribute _beforeSave ( $object)

Redefinition of:
Mage_Core_Model_Mysql4_Abstract::_beforeSave()
Perform actions before object save

Redefined in descendants as:
_construct (line 38)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Resource_Abstract::_construct()
Resource initialization
_initUniqueFields (line 48)

Initialize unique fields

  • access: protected
Mage_Core_Model_Mysql4_Abstract _initUniqueFields ()

Redefinition of:
Mage_Core_Model_Mysql4_Abstract::_initUniqueFields()
Initialize unique fields
_loadTypeAttributes (line 57)
  • access: protected
void _loadTypeAttributes ( $entityTypeId)
  • $entityTypeId
_saveAdditionalAttributeData (line 239)

Save additional data of attribute

  • access: protected
Mage_Eav_Model_Mysql4_Entity_Attribute _saveAdditionalAttributeData ( $object)
_saveOption (line 305)

Enter description here...

  • access: protected
Mage_Eav_Model_Mysql4_Entity_Attribute _saveOption ( $object)
_saveStoreLabels (line 208)

Save store labels

  • access: protected
Mage_Eav_Model_Mysql4_Entity_Attribute _saveStoreLabels ( $object)

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Abstract

Mage_Core_Model_Mysql4_Abstract::addUniqueField()
Mage_Core_Model_Mysql4_Abstract::afterLoad()
Mage_Core_Model_Mysql4_Abstract::delete()
Mage_Core_Model_Mysql4_Abstract::forsedSave()
Mage_Core_Model_Mysql4_Abstract::getChecksum()
Mage_Core_Model_Mysql4_Abstract::getIdFieldName()
Mage_Core_Model_Mysql4_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Abstract::getReadConnection()
Mage_Core_Model_Mysql4_Abstract::getTable()
Mage_Core_Model_Mysql4_Abstract::getUniqueFields()
Mage_Core_Model_Mysql4_Abstract::getValueTable()
Mage_Core_Model_Mysql4_Abstract::hasDataChanged()
Mage_Core_Model_Mysql4_Abstract::load()
Mage_Core_Model_Mysql4_Abstract::resetUniqueField()
Mage_Core_Model_Mysql4_Abstract::save()
Mage_Core_Model_Mysql4_Abstract::unserializeFields()
Mage_Core_Model_Mysql4_Abstract::_afterDelete()
Mage_Core_Model_Mysql4_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Abstract::_afterSave()
Mage_Core_Model_Mysql4_Abstract::_beforeDelete()
Mage_Core_Model_Mysql4_Abstract::_beforeSave()
Mage_Core_Model_Mysql4_Abstract::_checkUnique()
Mage_Core_Model_Mysql4_Abstract::_getConnection()
Mage_Core_Model_Mysql4_Abstract::_getLoadSelect()
Mage_Core_Model_Mysql4_Abstract::_getReadAdapter()
Mage_Core_Model_Mysql4_Abstract::_getWriteAdapter()
Mage_Core_Model_Mysql4_Abstract::_init()
Mage_Core_Model_Mysql4_Abstract::_initUniqueFields()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForSave()
Mage_Core_Model_Mysql4_Abstract::_prepareDataForTable()
Mage_Core_Model_Mysql4_Abstract::_prepareValueForSave()
Mage_Core_Model_Mysql4_Abstract::_serializeFields()
Mage_Core_Model_Mysql4_Abstract::_setMainTable()
Mage_Core_Model_Mysql4_Abstract::_setResource()

Inherited From Mage_Core_Model_Resource_Abstract

Mage_Core_Model_Resource_Abstract::__construct()
Mage_Core_Model_Resource_Abstract::addCommitCallback()
Mage_Core_Model_Resource_Abstract::beginTransaction()
Mage_Core_Model_Resource_Abstract::commit()
Mage_Core_Model_Resource_Abstract::formatDate()
Mage_Core_Model_Resource_Abstract::mktime()
Mage_Core_Model_Resource_Abstract::rollBack()
Mage_Core_Model_Resource_Abstract::_construct()
Mage_Core_Model_Resource_Abstract::_getReadAdapter()
Mage_Core_Model_Resource_Abstract::_getWriteAdapter()
Mage_Core_Model_Resource_Abstract::_serializeField()
Mage_Core_Model_Resource_Abstract::_unserializeField()
Class Constants

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