Class Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection

Description

Catalog Product Compare Items Resource Collection

Located in /Catalog/Model/Resource/Eav/Mysql4/Product/Compare/Item/Collection.php (line 35)

Varien_Data_Collection_Db
   |
   --Mage_Eav_Model_Entity_Collection_Abstract
      |
      --Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract
         |
         --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
            |
            --Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection
Variable Summary
Method Summary
Variables
array $_comparableAttributes (line 57)

Comparable attributes cache

  • access: protected
int $_customerId = 0 (line 43)

Customer Filter

  • access: protected
int $_visitorId = 0 (line 50)

Visitor Filter

  • access: protected

Inherited Variables

Inherited from Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addFinalPrice
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addMinimalPrice
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addTaxPercents
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_addUrlRewrite
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_allIdsCache
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_flatEnabled
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_isWebsiteFilter
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_map
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_priceDataFieldFilters
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productCategoryTable
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productCountSelect
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productLimitationFilters
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_productWebsiteTable
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::$_urlRewriteCategory

Inherited from Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract

Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::$_storeId

Inherited from Mage_Eav_Model_Entity_Collection_Abstract

Mage_Eav_Model_Entity_Collection_Abstract::$_entity
Mage_Eav_Model_Entity_Collection_Abstract::$_filterAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_itemsById
Mage_Eav_Model_Entity_Collection_Abstract::$_joinAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_joinEntities
Mage_Eav_Model_Entity_Collection_Abstract::$_joinFields
Mage_Eav_Model_Entity_Collection_Abstract::$_selectAttributes
Mage_Eav_Model_Entity_Collection_Abstract::$_selectEntityTypes
Mage_Eav_Model_Entity_Collection_Abstract::$_staticFields
Methods
clear (line 311)

Clear compare items by condition

  • access: public

Redefinition of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::clear()
Clear collection
getComparableAttributes (line 221)

Retrieve Merged comparable attributes for compared product items

  • access: public
array getComparableAttributes ()
getConditionForJoin (line 119)

Retrieve condition for join filters

  • access: public
array|null getConditionForJoin ()
getCustomerId (line 99)

Retrieve customer filter applied to collection

  • access: public
int getCustomerId ()
getProductIds (line 296)

Retrieve product ids from collection

  • access: public
array getProductIds ()
getVisitorId (line 109)

Retrieve visitor filter applied to collection

  • access: public
int getVisitorId ()
isEnabledFlat (line 326)

Retrieve is flat enabled flag Overwrite disable flat for compared item if required EAV resource

  • access: public
bool isEnabledFlat ()

Redefinition of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::isEnabledFlat()
Retrieve is flat enabled flag Return alvays false if magento run admin
loadComparableAttributes (line 264)

Load Comparable attributes

  • access: public
setCustomerId (line 74)

Set customer filter to collection

  • access: public
  • int $customerId
setVisitorId (line 87)

Set visitor filter to collection

  • access: public
  • int $visitorId
useProductItem (line 281)

Use product as collection item

  • access: public
_addJoinToSelect (line 137)

Add join to select

  • access: public
_construct (line 62)

Initialize resources

  • access: protected
void _construct ()

Redefinition of:
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_construct()
Initialize resources
_getAttributeIdsBySetIds (line 207)

Retrieve attribute ids by set ids

  • access: protected
array _getAttributeIdsBySetIds ( $setIds)
  • array $setIds
_getAttributeSetIds (line 162)

Retrieve comapre products attribute set ids

  • access: protected
array _getAttributeSetIds ()

Inherited Methods

Inherited From Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addAttributeToSort()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCategoryFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCategoryIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addCountToCategories()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addFilterByRequiredOptions()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addFinalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addIdFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addOptionsToResult()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addPriceData()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addPriceDataFieldFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addStoreFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTaxPercents()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTierPriceData()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addWebsiteFilter()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addWebsiteNamesToResult()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::applyFrontendPriceLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::clear()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllAttributeValues()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAllIdsCache()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAttributeValueCount()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getAttributeValueCountByRange()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getFlatHelper()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getMaxAttributeValue()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getNewEmptyItem()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getProductCountSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getProductTypeIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getSelectCountSql()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::getSetIds()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::isEnabledFlat()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::joinMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::joinUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::requireTaxPercent()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setAllIdsCache()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setEntity()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setGeneralDefoultQuery()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::setVisibility()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::unsProductCountSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addFinalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addMinimalPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addTaxPercents()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_addUrlRewrite()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_afterLoad()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_applyProductLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_applyZeroStoreProductLimitations()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_beforeLoad()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_construct()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_init()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_initSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_initTables()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_joinPriceRules()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_loadAttributes()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareProductLimitationFilters()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareStaticFields()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_prepareUrlDataObject()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinPrice()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::_productLimitationJoinWebsite()

Inherited From Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract

Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::getDefaultStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::getStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::setStore()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::setStoreId()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::_getLoadAttributesSelect()
Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract::_joinAttributeToSelect()

Inherited From Mage_Eav_Model_Entity_Collection_Abstract

Mage_Eav_Model_Entity_Collection_Abstract::__construct()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToFilter()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addAttributeToSort()
Mage_Eav_Model_Entity_Collection_Abstract::addEntityTypeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addExpressionAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::addFieldToFilter()
Mage_Eav_Model_Entity_Collection_Abstract::addItem()
Mage_Eav_Model_Entity_Collection_Abstract::addStaticField()
Mage_Eav_Model_Entity_Collection_Abstract::delete()
Mage_Eav_Model_Entity_Collection_Abstract::exportToArray()
Mage_Eav_Model_Entity_Collection_Abstract::getAllIds()
Mage_Eav_Model_Entity_Collection_Abstract::getAllIdsSql()
Mage_Eav_Model_Entity_Collection_Abstract::getAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::getEntity()
Mage_Eav_Model_Entity_Collection_Abstract::getLoadedIds()
Mage_Eav_Model_Entity_Collection_Abstract::getResource()
Mage_Eav_Model_Entity_Collection_Abstract::getRowIdFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::getTable()
Mage_Eav_Model_Entity_Collection_Abstract::groupByAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::importFromArray()
Mage_Eav_Model_Entity_Collection_Abstract::joinAttribute()
Mage_Eav_Model_Entity_Collection_Abstract::joinField()
Mage_Eav_Model_Entity_Collection_Abstract::joinTable()
Mage_Eav_Model_Entity_Collection_Abstract::load()
Mage_Eav_Model_Entity_Collection_Abstract::removeAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::save()
Mage_Eav_Model_Entity_Collection_Abstract::setEntity()
Mage_Eav_Model_Entity_Collection_Abstract::setObject()
Mage_Eav_Model_Entity_Collection_Abstract::setOrder()
Mage_Eav_Model_Entity_Collection_Abstract::setPage()
Mage_Eav_Model_Entity_Collection_Abstract::setRowIdFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::toArray()
Mage_Eav_Model_Entity_Collection_Abstract::_addAttributeJoin()
Mage_Eav_Model_Entity_Collection_Abstract::_afterLoad()
Mage_Eav_Model_Entity_Collection_Abstract::_beforeLoad()
Mage_Eav_Model_Entity_Collection_Abstract::_construct()
Mage_Eav_Model_Entity_Collection_Abstract::_getAllIdsSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeConditionSql()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeFieldName()
Mage_Eav_Model_Entity_Collection_Abstract::_getAttributeTableAlias()
Mage_Eav_Model_Entity_Collection_Abstract::_getLoadAttributesSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_init()
Mage_Eav_Model_Entity_Collection_Abstract::_initSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_joinAttributeToSelect()
Mage_Eav_Model_Entity_Collection_Abstract::_loadAttributes()
Mage_Eav_Model_Entity_Collection_Abstract::_loadEntities()
Mage_Eav_Model_Entity_Collection_Abstract::_prepareStaticFields()
Mage_Eav_Model_Entity_Collection_Abstract::_reset()
Mage_Eav_Model_Entity_Collection_Abstract::_setItemAttributeValue()

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