Class Mage_CatalogIndex_Model_Data_Abstract

Description

CatalogIndex Data Retreiver Abstract Model

Located in /CatalogIndex/Model/Data/Abstract.php (line 35)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_CatalogIndex_Model_Data_Abstract
Direct descendents
Class Description
Mage_CatalogIndex_Model_Data_Grouped Grouped product data retreiver
Mage_CatalogIndex_Model_Data_Configurable Configurable product data retreiver
Mage_CatalogIndex_Model_Data_Simple Date retreiver abstract model
Class Constant Summary
Variable Summary
Method Summary
bool areChildrenIndexable (int $type)
void fetchLinkInformation (Mage_Core_Model_Store $store, array $settings, int $type, int $suppliedId)
void getAttributeData (array $products, array $attributes, Mage_Core_Model_Store $store)
mixed getChildProductIds (Mage_Core_Model_Store $store,  $parentIds, int $parentId)
float getFinalPrice (int $product, Mage_Core_Model_Store $store, Mage_Customer_Model_Group $group)
array getMinimalPrice (array $products, Mage_Core_Model_Store $store)
mixed getParentProductIds (Mage_Core_Model_Store $store,  $childIds, int $childId)
int getTaxClassId (int $productId, Mage_Core_Model_Store $store)
mixed getTierPrices (array $products, Mage_Core_Model_Store $store)
string getTypeCode ()
void _construct ()
mixed _getLinkSettings ()
Variables
boolean $_haveChildren = array(
Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_TIERS=>true,
Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_PRICES=>true,
Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_ATTRIBUTES=>true,
)
(line 49)

Defines when product type has children

  • access: protected

Redefined in descendants as:
boolean $_haveParents = true (line 60)

Defines when product type has parents

  • access: protected

Redefined in descendants as:
Mage_Catalog_Model_Product_Type_Abstract $_typeInstance (line 42)

Product Type instance

  • access: protected

Inherited Variables

Inherited from Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::$_cacheTag
Mage_Core_Model_Abstract::$_dataSaveAllowed
Mage_Core_Model_Abstract::$_eventObject
Mage_Core_Model_Abstract::$_eventPrefix
Mage_Core_Model_Abstract::$_isObjectNew
Mage_Core_Model_Abstract::$_resource
Mage_Core_Model_Abstract::$_resourceCollectionName
Mage_Core_Model_Abstract::$_resourceName
Methods
areChildrenIndexable (line 280)

Returns if type supports children of the specified type

  • access: public
bool areChildrenIndexable (int $type)
  • int $type
fetchLinkInformation (line 122)

Returns an array of product children/parents

  • access: protected
void fetchLinkInformation (Mage_Core_Model_Store $store, array $settings, int $type, int $suppliedId)
getAttributeData (line 249)

Retreive specified attribute data for specified products from specified store

  • access: public
void getAttributeData (array $products, array $attributes, Mage_Core_Model_Store $store)
getChildProductIds (line 81)

Return all children ids

  • access: public
mixed getChildProductIds (Mage_Core_Model_Store $store,  $parentIds, int $parentId)
getFinalPrice (line 152)

Fetch final price for product

  • access: public
float getFinalPrice (int $product, Mage_Core_Model_Store $store, Mage_Customer_Model_Group $group)

Redefined in descendants as:
getMinimalPrice (line 194)

Return minimal prices for specified products

  • access: public
array getMinimalPrice (array $products, Mage_Core_Model_Store $store)
getParentProductIds (line 101)

Return all parent ids

  • access: public
mixed getParentProductIds (Mage_Core_Model_Store $store,  $childIds, int $childId)
getTaxClassId (line 217)

Get tax class id for a product

  • access: public
int getTaxClassId (int $productId, Mage_Core_Model_Store $store)
getTierPrices (line 237)

Return tier data for specified products in specified store

  • access: public
mixed getTierPrices (array $products, Mage_Core_Model_Store $store)
getTypeCode (line 259)

Retreive product type code

  • access: public
string getTypeCode ()

Redefined in descendants as:
getTypeInstance (line 293)

Retrieve Product Type Instance

  • access: public
_construct (line 69)

Initialize abstract resource model

  • access: protected
void _construct ()

Redefined in descendants as:
_getLinkSettings (line 269)

Get child link table and field settings

  • access: protected
mixed _getLinkSettings ()

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()
Class Constants
LINK_GET_CHILDREN = 1 (line 62)
LINK_GET_PARENTS = 1 (line 63)

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