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_Source_Abstract

Entity/Attribute/Model - attribute selection source abstract

Mage_Eav_Model_Entity_Attribute_Source_Abstract implements Mage_Eav_Model_Entity_Attribute_Source_Interface

Direct known subclasses

Mage_Bundle_Model_Product_Attribute_Source_Price_View, Mage_Catalog_Model_Category_Attribute_Source_Layout, Mage_Catalog_Model_Resource_Category_Attribute_Source_Mode, Mage_Catalog_Model_Resource_Category_Attribute_Source_Page, Mage_Core_Model_Design_Source_Design, Mage_Eav_Model_Entity_Attribute_Source_Boolean, Mage_Eav_Model_Entity_Attribute_Source_Config, Mage_Eav_Model_Entity_Attribute_Source_Table, Mage_Tax_Model_Class_Source_Customer, Mage_Tax_Model_Class_Source_Product, Mage_Catalog_Model_Category_Attribute_Source_Mode, Mage_Catalog_Model_Category_Attribute_Source_Page, Mage_Catalog_Model_Category_Attribute_Source_Sortby, Mage_Catalog_Model_Product_Attribute_Source_Countryofmanufacture, Mage_Catalog_Model_Product_Attribute_Source_Layout, Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type, Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type_Enabled, Mage_Catalog_Model_Resource_Category_Attribute_Source_Layout

Indirect known subclasses

Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container, Mage_Catalog_Model_Product_Attribute_Source_Boolean, Mage_Customer_Model_Entity_Address_Attribute_Source_Region, Mage_Customer_Model_Resource_Address_Attribute_Source_Country, Mage_Customer_Model_Resource_Address_Attribute_Source_Region, Mage_Eav_Model_Entity_Attribute_Source_Store, Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type_Price, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Layout, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Mode, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Source_Page, Mage_Customer_Model_Customer_Attribute_Source_Group, Mage_Customer_Model_Customer_Attribute_Source_Store, Mage_Customer_Model_Customer_Attribute_Source_Website, Mage_Customer_Model_Entity_Address_Attribute_Source_Country
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/Source/Abstract.php
Methods summary
public Mage_Eav_Model_Entity_Attribute_Frontend_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_Frontend_Abstract
public Mage_Eav_Model_Entity_Attribute_Abstract
# getAttribute( )

Get attribute instance

Get attribute instance

Returns

Mage_Eav_Model_Entity_Attribute_Abstract
public string|boolean
# getOptionText( string|integer $value )

Get a text for option value

Get a text for option value

Parameters

$value
string|integer
$value

Returns

string|boolean

Implementation of

Mage_Eav_Model_Entity_Attribute_Source_Interface::getOptionText()
public
# getOptionId( mixed $value )
public Mage_Eav_Model_Entity_Attribute_Source_Abstract
# addValueSortToCollection( Mage_Eav_Model_Entity_Collection_Abstract $collection, string $dir = Varien_Data_Collection::SORT_ORDER_DESC )

Add Value Sort To Collection Select

Add Value Sort To Collection Select

Parameters

$collection
Mage_Eav_Model_Entity_Collection_Abstract
$collection
$dir
string
$dir direction

Returns

Mage_Eav_Model_Entity_Attribute_Source_Abstract
public array
# getFlatColums( )

Retrieve flat column definition

Retrieve flat column definition

Returns

array
public array
# getFlatIndexes( )

Retrieve Indexes(s) for Flat

Retrieve Indexes(s) for Flat

Returns

array
public Varien_Db_Select|null
# getFlatUpdateSelect( integer $store )

Retrieve Select For Flat Attribute update

Retrieve Select For Flat Attribute update

Parameters

$store
integer
$store

Returns

Varien_Db_Select|null
Methods inherited from Mage_Eav_Model_Entity_Attribute_Source_Interface
getAllOptions()
Properties summary
protected Mage_Eav_Model_Entity_Attribute_Abstract $_attribute
#

Reference to the attribute instance

Reference to the attribute instance

protected array $_options null
#

Options array

Options array

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0