Class Mage_Eav_Model_Mysql4_Entity_Attribute_Collection

Description

EAV attribute resource collection

  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

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

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Eav_Model_Mysql4_Entity_Attribute_Collection
Direct descendents
Class Description
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Attribute_Collection Catalog category EAV additional attribute resource collection
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Collection Catalog product EAV additional attribute resource collection
Mage_Customer_Model_Entity_Attribute_Collection Customer EAV additional attribute resource collection
Variable Summary
Method Summary
void _afterLoadData ()
void _construct ()
Variables
Methods
addAttributeGrouping (line 213)

Declare group by attribute id condition for collection select

  • access: public
addHasOptionsFilter (line 246)

Specify filter to select just attributes with options

  • access: public
addIsNotUniqueFilter (line 235)

Specify "is_unique" filter as false

  • access: public
addIsUniqueFilter (line 224)

Specify "is_unique" filter as true

  • access: public
addSetInfo (line 277)

Flag for adding information about attributes sets to result

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection addSetInfo ([bool $flag = true])
  • bool $flag
addStoreLabel (line 379)

Add store label to attribute by specified store id

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection addStoreLabel (integer $storeId)
  • integer $storeId
checkConfigurableProducts (line 350)

Load is used in configurable products flag

  • deprecated:
  • access: public
setAttributeGroupFilter (line 200)

Filter by attribute group id

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setAttributeGroupFilter (int $groupId)
  • int $groupId
setAttributeSetExcludeFilter (line 174)

Add filter which exclude attributes assigned to attribute set

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setAttributeSetExcludeFilter (int $setId)
  • int $setId
setAttributeSetFilter (line 115)

Specify attribute set filter

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setAttributeSetFilter (int $setId)
  • int $setId
setAttributeSetsFilter (line 138)

Specify multiple attribute sets filter Result will be ordered by sort_order

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setAttributeSetsFilter ( $setIds)
  • array $setIds
setAttributesExcludeFilter (line 188)

Exclude attributes filter

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setAttributesExcludeFilter (array $attributes)
  • array $attributes
setCodeFilter (line 361)

Specify collection attribute codes filter

  • access: public
  • string $code: || array $code
setEntityTypeFilter (line 90)

Specify attribute entity type filter

  • access: public

Redefined in descendants as:
setFrontendInputTypeFilter (line 264)

Apply filter by attribute frontend input type

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setFrontendInputTypeFilter (string $frontendInputType)
  • string $frontendInputType
setInAllAttributeSetsFilter (line 153)

Filter for selecting of attributes that is in all sets

  • access: public
Mage_Eav_Model_Mysql4_Entity_Attribute_Collection setInAllAttributeSetsFilter ( $setIds)
  • array $setIds
useLoadDataFields (line 77)

Specify select columns which are used for load arrtibute values

  • access: public
_addSetInfo (line 288)

Ad information about attribute sets to collection result data

  • access: protected
_afterLoadData (line 337)
  • access: protected
void _afterLoadData ()
_construct (line 46)

Resource model initialization

  • access: public
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here

Redefined in descendants as:
_getLoadDataFields (line 56)

Return array of fields to load attribute values

  • access: protected
array _getLoadDataFields ()

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:58:28 +0200 by phpDocumentor 1.4.3