Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container
  • Mage_Catalog_Model_Product_Attribute_Source_Inputtype
  • Mage_Eav_Block_Adminhtml_Attribute_Edit_Js
  • Mage_Eav_Block_Adminhtml_Attribute_Edit_Main_Abstract
  • Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
  • Mage_Eav_Helper_Data
  • Mage_Eav_Model_Adminhtml_System_Config_Source_Inputtype
  • Mage_Eav_Model_Adminhtml_System_Config_Source_Inputtype_Validator
  • Mage_Eav_Model_Attribute
  • Mage_Eav_Model_Attribute_Data
  • Mage_Eav_Model_Attribute_Data_Abstract
  • Mage_Eav_Model_Attribute_Data_Boolean
  • Mage_Eav_Model_Attribute_Data_Date
  • Mage_Eav_Model_Attribute_Data_File
  • Mage_Eav_Model_Attribute_Data_Hidden
  • Mage_Eav_Model_Attribute_Data_Image
  • Mage_Eav_Model_Attribute_Data_Multiline
  • Mage_Eav_Model_Attribute_Data_Multiselect
  • Mage_Eav_Model_Attribute_Data_Select
  • Mage_Eav_Model_Attribute_Data_Text
  • Mage_Eav_Model_Attribute_Data_Textarea
  • Mage_Eav_Model_Config
  • Mage_Eav_Model_Convert_Adapter_Entity
  • Mage_Eav_Model_Convert_Adapter_Grid
  • Mage_Eav_Model_Convert_Parser_Abstract
  • Mage_Eav_Model_Entity
  • Mage_Eav_Model_Entity_Abstract
  • Mage_Eav_Model_Entity_Attribute
  • Mage_Eav_Model_Entity_Attribute_Abstract
  • Mage_Eav_Model_Entity_Attribute_Backend_Abstract
  • Mage_Eav_Model_Entity_Attribute_Backend_Array
  • Mage_Eav_Model_Entity_Attribute_Backend_Datetime
  • Mage_Eav_Model_Entity_Attribute_Backend_Default
  • Mage_Eav_Model_Entity_Attribute_Backend_Increment
  • Mage_Eav_Model_Entity_Attribute_Backend_Serialized
  • Mage_Eav_Model_Entity_Attribute_Backend_Store
  • Mage_Eav_Model_Entity_Attribute_Backend_Time_Created
  • Mage_Eav_Model_Entity_Attribute_Backend_Time_Updated
  • Mage_Eav_Model_Entity_Attribute_Frontend_Abstract
  • Mage_Eav_Model_Entity_Attribute_Frontend_Datetime
  • Mage_Eav_Model_Entity_Attribute_Frontend_Default
  • Mage_Eav_Model_Entity_Attribute_Group
  • Mage_Eav_Model_Entity_Attribute_Option
  • Mage_Eav_Model_Entity_Attribute_Set
  • Mage_Eav_Model_Entity_Attribute_Source_Abstract
  • Mage_Eav_Model_Entity_Attribute_Source_Boolean
  • Mage_Eav_Model_Entity_Attribute_Source_Config
  • Mage_Eav_Model_Entity_Attribute_Source_Store
  • Mage_Eav_Model_Entity_Attribute_Source_Table
  • Mage_Eav_Model_Entity_Collection
  • Mage_Eav_Model_Entity_Collection_Abstract
  • Mage_Eav_Model_Entity_Increment_Abstract
  • Mage_Eav_Model_Entity_Increment_Alphanum
  • Mage_Eav_Model_Entity_Increment_Numeric
  • Mage_Eav_Model_Entity_Setup
  • Mage_Eav_Model_Entity_Store
  • Mage_Eav_Model_Entity_Type
  • Mage_Eav_Model_Form
  • Mage_Eav_Model_Form_Element
  • Mage_Eav_Model_Form_Fieldset
  • Mage_Eav_Model_Form_Type
  • Mage_Eav_Model_Mysql4_Config
  • Mage_Eav_Model_Mysql4_Entity_Attribute
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Collection
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Group
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Group_Collection
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Option
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Option_Collection
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Set
  • Mage_Eav_Model_Mysql4_Entity_Attribute_Set_Collection
  • Mage_Eav_Model_Mysql4_Entity_Store
  • Mage_Eav_Model_Mysql4_Entity_Type
  • Mage_Eav_Model_Mysql4_Entity_Type_Collection
  • Mage_Eav_Model_Mysql4_Form_Element
  • Mage_Eav_Model_Mysql4_Form_Element_Collection
  • Mage_Eav_Model_Mysql4_Form_Fieldset
  • Mage_Eav_Model_Mysql4_Form_Fieldset_Collection
  • Mage_Eav_Model_Mysql4_Form_Type
  • Mage_Eav_Model_Mysql4_Form_Type_Collection
  • Mage_Eav_Model_Resource_Attribute
  • Mage_Eav_Model_Resource_Attribute_Collection
  • Mage_Eav_Model_Resource_Config
  • Mage_Eav_Model_Resource_Entity_Attribute
  • Mage_Eav_Model_Resource_Entity_Attribute_Collection
  • Mage_Eav_Model_Resource_Entity_Attribute_Group
  • Mage_Eav_Model_Resource_Entity_Attribute_Group_Collection
  • Mage_Eav_Model_Resource_Entity_Attribute_Option
  • Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection
  • Mage_Eav_Model_Resource_Entity_Attribute_Set
  • Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection
  • Mage_Eav_Model_Resource_Entity_Store
  • Mage_Eav_Model_Resource_Entity_Type
  • Mage_Eav_Model_Resource_Entity_Type_Collection
  • Mage_Eav_Model_Resource_Form_Attribute
  • Mage_Eav_Model_Resource_Form_Attribute_Collection
  • Mage_Eav_Model_Resource_Form_Element
  • Mage_Eav_Model_Resource_Form_Element_Collection
  • Mage_Eav_Model_Resource_Form_Fieldset
  • Mage_Eav_Model_Resource_Form_Fieldset_Collection
  • Mage_Eav_Model_Resource_Form_Type
  • Mage_Eav_Model_Resource_Form_Type_Collection
  • Mage_Eav_Model_Resource_Helper_Mysql4

Interfaces

  • Mage_Eav_Model_Entity_Attribute_Backend_Interface
  • Mage_Eav_Model_Entity_Attribute_Frontend_Interface
  • Mage_Eav_Model_Entity_Attribute_Interface
  • Mage_Eav_Model_Entity_Attribute_Source_Interface
  • Mage_Eav_Model_Entity_Increment_Interface
  • Mage_Eav_Model_Entity_Interface

Exceptions

  • Mage_Eav_Exception
  • Mage_Eav_Model_Entity_Attribute_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Entity/Attribute/Model - attribute backend abstract

Mage_Eav_Model_Entity_Attribute_Backend_Abstract implements Mage_Eav_Model_Entity_Attribute_Backend_Interface

Direct known subclasses

Mage_Catalog_Model_Attribute_Backend_Customlayoutupdate, Mage_Catalog_Model_Category_Attribute_Backend_Image, Mage_Catalog_Model_Resource_Product_Attribute_Backend_Urlkey, Mage_Customer_Model_Attribute_Backend_Data_Boolean, Mage_Customer_Model_Customer_Attribute_Backend_Billing, Mage_Customer_Model_Customer_Attribute_Backend_Password, Mage_Customer_Model_Customer_Attribute_Backend_Shipping, Mage_Customer_Model_Customer_Attribute_Backend_Store, Mage_Customer_Model_Customer_Attribute_Backend_Website, Mage_Customer_Model_Resource_Address_Attribute_Backend_Region, Mage_Customer_Model_Resource_Address_Attribute_Backend_Street, Mage_Eav_Model_Entity_Attribute_Backend_Array, Mage_Catalog_Model_Category_Attribute_Backend_Sortby, Mage_Eav_Model_Entity_Attribute_Backend_Datetime, Mage_Eav_Model_Entity_Attribute_Backend_Default, Mage_Eav_Model_Entity_Attribute_Backend_Increment, Mage_Eav_Model_Entity_Attribute_Backend_Serialized, Mage_Eav_Model_Entity_Attribute_Backend_Store, Mage_Eav_Model_Entity_Attribute_Backend_Time_Created, Mage_Eav_Model_Entity_Attribute_Backend_Time_Updated, Mage_Sales_Model_Entity_Order_Attribute_Backend_Billing, Mage_Sales_Model_Entity_Order_Attribute_Backend_Child, Mage_Sales_Model_Entity_Order_Attribute_Backend_Parent, Mage_Catalog_Model_Category_Attribute_Backend_Urlkey, Mage_Sales_Model_Entity_Order_Attribute_Backend_Shipping, Mage_Sales_Model_Entity_Order_Creditmemo_Attribute_Backend_Child, Mage_Sales_Model_Entity_Order_Creditmemo_Attribute_Backend_Parent, Mage_Sales_Model_Entity_Order_Invoice_Attribute_Backend_Child, Mage_Sales_Model_Entity_Order_Invoice_Attribute_Backend_Item, Mage_Sales_Model_Entity_Order_Invoice_Attribute_Backend_Order, Mage_Sales_Model_Entity_Order_Invoice_Attribute_Backend_Parent, Mage_Sales_Model_Entity_Order_Shipment_Attribute_Backend_Child, Mage_Sales_Model_Entity_Order_Shipment_Attribute_Backend_Parent, Mage_Sales_Model_Entity_Quote_Address_Attribute_Backend, Mage_Catalog_Model_Product_Attribute_Backend_Boolean, Mage_Sales_Model_Entity_Quote_Address_Attribute_Backend_Child, Mage_Sales_Model_Entity_Quote_Address_Attribute_Backend_Parent, Mage_Sales_Model_Entity_Quote_Address_Attribute_Backend_Region, Mage_Sales_Model_Resource_Order_Attribute_Backend_Billing, Mage_Sales_Model_Resource_Order_Attribute_Backend_Child, Mage_Sales_Model_Resource_Order_Attribute_Backend_Parent, Mage_Sales_Model_Resource_Order_Attribute_Backend_Shipping, Mage_Sales_Model_Resource_Order_Creditmemo_Attribute_Backend_Child, Mage_Sales_Model_Resource_Order_Creditmemo_Attribute_Backend_Parent, Mage_Sales_Model_Resource_Order_Invoice_Attribute_Backend_Child, Mage_Catalog_Model_Product_Attribute_Backend_Media, Mage_Sales_Model_Resource_Order_Invoice_Attribute_Backend_Item, Mage_Sales_Model_Resource_Order_Invoice_Attribute_Backend_Order, Mage_Sales_Model_Resource_Order_Invoice_Attribute_Backend_Parent, Mage_Sales_Model_Resource_Order_Shipment_Attribute_Backend_Child, Mage_Sales_Model_Resource_Order_Shipment_Attribute_Backend_Parent, Mage_Sales_Model_Resource_Quote_Address_Attribute_Backend, Mage_Sales_Model_Resource_Quote_Address_Attribute_Backend_Child, Mage_Sales_Model_Resource_Quote_Address_Attribute_Backend_Parent, Mage_Sales_Model_Resource_Quote_Address_Attribute_Backend_Region, Mage_Catalog_Model_Product_Attribute_Backend_Price, Mage_Catalog_Model_Product_Attribute_Backend_Sku, Mage_Catalog_Model_Product_Attribute_Backend_Urlkey, Mage_Catalog_Model_Resource_Product_Attribute_Backend_Image

Indirect known subclasses

Mage_Catalog_Model_Product_Attribute_Backend_Groupprice, Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract, Mage_Sales_Model_Mysql4_Order_Attribute_Backend_Billing, Mage_Sales_Model_Mysql4_Order_Attribute_Backend_Child, Mage_Sales_Model_Mysql4_Order_Attribute_Backend_Parent, Mage_Sales_Model_Mysql4_Order_Attribute_Backend_Shipping, Mage_Sales_Model_Mysql4_Order_Creditmemo_Attribute_Backend_Child, Mage_Sales_Model_Mysql4_Order_Creditmemo_Attribute_Backend_Parent, Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Child, Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Item, Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Order, Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Parent, Mage_Catalog_Model_Product_Attribute_Backend_Msrp, Mage_Sales_Model_Mysql4_Order_Shipment_Attribute_Backend_Child, Mage_Sales_Model_Mysql4_Order_Shipment_Attribute_Backend_Parent, Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Backend, Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Backend_Child, Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Backend_Parent, Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Backend_Region, Mage_Weee_Model_Attribute_Backend_Weee_Tax, Mage_Catalog_Model_Product_Attribute_Backend_Recurring, Mage_Catalog_Model_Product_Attribute_Backend_Startdate, Mage_Catalog_Model_Product_Attribute_Backend_Tierprice, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Image, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Backend_Urlkey, Mage_Customer_Model_Entity_Address_Attribute_Backend_Region, Mage_Customer_Model_Entity_Address_Attribute_Backend_Street
Abstract
Package: Mage\Eav
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/Eav/Model/Entity/Attribute/Backend/Abstract.php
Methods summary
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# setAttribute( Mage_Eav_Model_Entity_Attribute_Abstract $attribute )

Set attribute instance

Set attribute instance

Parameters

$attribute
Mage_Eav_Model_Entity_Attribute_Abstract
$attribute

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract
public Mage_Eav_Model_Entity_Attribute_Abstract
# getAttribute( )

Get attribute instance

Get attribute instance

Returns

Mage_Eav_Model_Entity_Attribute_Abstract
public string
# getType( )

Get backend type of the attribute

Get backend type of the attribute

Returns

string

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::getType()
public boolean
# isStatic( )

Check whether the attribute is a real field in the entity table

Check whether the attribute is a real field in the entity table

Returns

boolean

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::isStatic()
public string
# getTable( )

Get table name for the values of the attribute

Get table name for the values of the attribute

Returns

string

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::getTable()
public string
# getEntityIdField( )

Get entity_id field in the attribute values tables

Get entity_id field in the attribute values tables

Returns

string

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::getEntityIdField()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# setValueId( integer $valueId )

Set value id

Set value id

Parameters

$valueId
integer
$valueId

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::setValueId()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# setEntityValueId( Varien_Object $entity, integer $valueId )

Set entity value id

Set entity value id

Parameters

$entity
Varien_Object
$entity
$valueId
integer
$valueId

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::setEntityValueId()
public integer
# getValueId( )

Retrieve value id

Retrieve value id

Returns

integer

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::getValueId()
public integer
# getEntityValueId( Varien_Object $entity )

Get entity value id

Get entity value id

Parameters

$entity
Varien_Object
$entity

Returns

integer

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::getEntityValueId()
public mixed
# getDefaultValue( )

Retrieve default value

Retrieve default value

Returns

mixed
public boolean
# validate( Varien_Object $object )

Validate object

Validate object

Parameters

$object
Varien_Object
$object

Returns

boolean

Throws

Mage_Eav_Exception
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# afterLoad( Varien_Object $object )

After load method

After load method

Parameters

$object
Varien_Object
$object

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::afterLoad()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# beforeSave( Varien_Object $object )

Before save method

Before save method

Parameters

$object
Varien_Object
$object

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::beforeSave()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# afterSave( Varien_Object $object )

After save method

After save method

Parameters

$object
Varien_Object
$object

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::afterSave()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# beforeDelete( Varien_Object $object )

Before delete method

Before delete method

Parameters

$object
Varien_Object
$object

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::beforeDelete()
public Mage_Eav_Model_Entity_Attribute_Backend_Abstract
# afterDelete( Varien_Object $object )

After delete method

After delete method

Parameters

$object
Varien_Object
$object

Returns

Mage_Eav_Model_Entity_Attribute_Backend_Abstract

Implementation of

Mage_Eav_Model_Entity_Attribute_Backend_Interface::afterDelete()
Properties summary
protected Mage_Eav_Model_Entity_Attribute_Abstract $_attribute
#

Reference to the attribute instance

Reference to the attribute instance

protected integer $_valueId
#

PK value_id for loaded entity (for faster updates)

PK value_id for loaded entity (for faster updates)

protected array $_valueIds array()
#

PK value_ids for each loaded entity

PK value_ids for each loaded entity

protected string $_table
#

Table name for this attribute

Table name for this attribute

protected string $_entityIdField
#

Name of the entity_id field for the value table of this attribute

Name of the entity_id field for the value table of this attribute

protected mixed $_defaultValue null
#

Default value for the attribute

Default value for the attribute

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0