Class Mage_Eav_Model_Entity_Attribute_Source_Table

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Eav/Model/Entity/Attribute/Source/Table.php (line 28)

Mage_Eav_Model_Entity_Attribute_Source_Abstract
   |
   --Mage_Eav_Model_Entity_Attribute_Source_Table
Direct descendents
Class Description
Mage_Customer_Model_Customer_Attribute_Source_Website Customer website attribute source
Mage_Customer_Model_Customer_Attribute_Source_Group Customer group attribute source
Mage_Customer_Model_Customer_Attribute_Source_Store Customer store attribute source
Mage_Customer_Model_Entity_Address_Attribute_Source_Region Customer region attribute source
Mage_Customer_Model_Entity_Address_Attribute_Source_Country Customer country attribute source
Mage_Eav_Model_Entity_Attribute_Source_Store Customer store_id attribute source
Variable Summary
Method Summary
array getAllOptions ([bool $withEmpty = true], [bool $defaultValues = false])
array getFlatColums ()
array getFlatIndexes ()
Varien_Db_Select|null getFlatUpdateSelect (int $store, Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
string getOptionText (string|integer $value)
Variables
array $_optionsDefault = array() (line 35)

Default values for option cache

  • access: protected

Inherited Variables

Inherited from Mage_Eav_Model_Entity_Attribute_Source_Abstract

Mage_Eav_Model_Entity_Attribute_Source_Abstract::$_attribute
Mage_Eav_Model_Entity_Attribute_Source_Abstract::$_options
Methods
addValueSortToCollection (line 112)

Add Value Sort To Collection Select

  • access: public
Mage_Eav_Model_Entity_Attribute_Source_Table addValueSortToCollection (Mage_Eav_Model_Entity_Collection_Abstract $collection, [string $dir = 'asc'])

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Source_Abstract::addValueSortToCollection()
Add Value Sort To Collection Select
getFlatColums (line 154)

Retrieve Column(s) for Flat

  • access: public
array getFlatColums ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatColums()
Retrieve Column(s) for Flat
getFlatIndexes (line 184)

Retrieve Indexes for Flat

  • access: public
array getFlatIndexes ()

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatIndexes()
Retrieve Indexes(s) for Flat
getFlatUpdateSelect (line 213)

Retrieve Select For Flat Attribute update

  • access: public
Varien_Db_Select|null getFlatUpdateSelect (int $store, Mage_Eav_Model_Entity_Attribute_Abstract $attribute)

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatUpdateSelect()
Retrieve Select For Flat Attribute update
getOptionText (line 75)

Get a text for option value

  • access: public
string getOptionText (string|integer $value)
  • string|integer $value

Redefinition of:
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getOptionText()
Get a text for option value

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Eav_Model_Entity_Attribute_Source_Abstract

Mage_Eav_Model_Entity_Attribute_Source_Abstract::addValueSortToCollection()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getAttribute()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatColums()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatIndexes()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getFlatUpdateSelect()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getOptionId()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::getOptionText()
Mage_Eav_Model_Entity_Attribute_Source_Abstract::setAttribute()

Documentation generated on Fri, 11 Feb 2011 17:13:52 +0200 by phpDocumentor 1.4.3