Class Mage_Customer_Model_Attribute

Description

Customer attribute model

Located in /Customer/Model/Attribute.php (line 34)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Eav_Model_Entity_Attribute_Abstract
         |
         --Mage_Eav_Model_Entity_Attribute
            |
            --Mage_Customer_Model_Attribute
Class Constant Summary
MODULE_NAME = 'Mage_Customer'
Variable Summary
Method Summary
Variables
Methods
getDefaultValue (line 196)

Return default value for attribute

  • access: public
int getDefaultValue ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Abstract::getDefaultValue()
getIsRequired (line 176)

Return is attribute value required

  • access: public
int getIsRequired ()
getIsVisible (line 186)

Return is visible attribute flag

  • access: public
int getIsVisible ()
getMultilineCount (line 206)

Return count of lines for multiply line attribute

  • access: public
int getMultilineCount ()
getUsedInForms (line 112)

Return forms in which the attribute

  • access: public
array getUsedInForms ()
getValidateRules (line 127)

Return validate rules

  • access: public
array getValidateRules ()
getWebsite (line 79)

Return active website instance

  • access: public
Mage_Core_Model_Website getWebsite ()
setValidateRules (line 144)

Set validate rules

  • access: public
Mage_Customer_Model_Attribute setValidateRules (array|string $rules)
  • array|string $rules
setWebsite (line 68)

Set active website instance

  • access: public
_afterSave (line 101)

Processing object after save data

  • access: protected

Redefinition of:
Mage_Eav_Model_Entity_Attribute::_afterSave()
_construct (line 91)

Init resource model

  • access: protected
void _construct ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Abstract::_construct()
Initialize resource model
_getScopeValue (line 162)

Return scope value by key

  • access: protected
mixed _getScopeValue (string $key)
  • string $key

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
MODULE_NAME = 'Mage_Customer' (line 39)

Name of the module

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:48 +0200 by phpDocumentor 1.4.3