Mage_Bundle_Model_CatalogIndex_Data_Bundle Class Reference

Inheritance diagram for Mage_Bundle_Model_CatalogIndex_Data_Bundle:

Mage_CatalogIndex_Model_Data_Simple Mage_CatalogIndex_Model_Data_Abstract Mage_Core_Model_Abstract Varien_Object

List of all members.

Public Member Functions

 getTypeCode ()

Protected Member Functions

 _getLinkSettings ()
 _prepareLinkFetchSelect ($store, $table, $idField, $whereField, $id, $additionalWheres=array())

Protected Attributes

 $_haveChildren
 $_haveParents = false


Detailed Description

Bundle product data retreiver

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Bundle.php.


Member Function Documentation

_getLinkSettings (  )  [protected]

Get child link table and field settings

Returns:
mixed

Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.

Definition at line 63 of file Bundle.php.

00064     {
00065         return array(
00066             'table'=>'bundle/selection',
00067             'parent_field'=>'parent_product_id',
00068             'child_field'=>'product_id'
00069             );
00070     }

_prepareLinkFetchSelect ( store,
table,
idField,
whereField,
id,
additionalWheres = array() 
) [protected]

Prepare select statement before 'fetchLinkInformation' function result fetch

Parameters:
int $store
string $table
string $idField
string $whereField
int $id
array $additionalWheres

Definition at line 82 of file Bundle.php.

00083     {
00084         $this->_addAttributeFilter($this->_getLinkSelect(), 'required_options', 'l', $idField, $store, 0);
00085     }

getTypeCode (  ) 

Retreive product type code

Returns:
string

Reimplemented from Mage_CatalogIndex_Model_Data_Simple.

Definition at line 53 of file Bundle.php.

00054     {
00055         return Mage_Catalog_Model_Product_Type::TYPE_BUNDLE;
00056     }


Member Data Documentation

$_haveChildren [protected]

$_haveParents = false [protected]

Reimplemented from Mage_CatalogIndex_Model_Data_Abstract.

Definition at line 46 of file Bundle.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:34 2009 for Magento by  doxygen 1.5.8