Public Member Functions | |
getFinalPrice ($product, $store, $group) | |
getTypeCode () | |
Protected Member Functions | |
_construct () | |
_getLinkSettings () | |
Protected Attributes | |
$_haveParents = false |
Definition at line 32 of file Grouped.php.
_construct | ( | ) | [protected] |
Initialize abstract resource model
Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.
Definition at line 41 of file Grouped.php.
00042 { 00043 $this->_init('catalogindex/data_grouped'); 00044 }
_getLinkSettings | ( | ) | [protected] |
Get child link table and field settings
Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.
Definition at line 74 of file Grouped.php.
00075 { 00076 return array( 00077 'table'=>'catalog/product_link', 00078 'parent_field'=>'product_id', 00079 'child_field'=>'linked_product_id', 00080 'additional'=>array('link_type_id'=>Mage_Catalog_Model_Product_Link::LINK_TYPE_GROUPED) 00081 ); 00082 }
getFinalPrice | ( | $ | product, | |
$ | store, | |||
$ | group | |||
) |
Fetch final price for product
int | $product | |
Mage_Core_Model_Store | $store | |
Mage_Customer_Model_Group | $group |
Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.
Definition at line 54 of file Grouped.php.
getTypeCode | ( | ) |
Retreive product type code
Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.
Definition at line 64 of file Grouped.php.
00065 { 00066 return Mage_Catalog_Model_Product_Type::TYPE_GROUPED; 00067 }
$_haveParents = false [protected] |
Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.
Definition at line 39 of file Grouped.php.