Public Member Functions | |
getTypeCode () | |
Protected Member Functions | |
_getLinkSettings () | |
_prepareLinkFetchSelect ($store, $table, $idField, $whereField, $id, $additionalWheres=array()) | |
Protected Attributes | |
$_haveChildren | |
$_haveParents = false |
Definition at line 32 of file Bundle.php.
_getLinkSettings | ( | ) | [protected] |
Get child link table and field settings
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
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
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 }
$_haveChildren [protected] |
Initial value:
array( Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_TIERS=>false, Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_PRICES=>false, Mage_CatalogIndex_Model_Retreiver::CHILDREN_FOR_ATTRIBUTES=>true, )
Reimplemented from Mage_CatalogIndex_Model_Data_Simple.
Definition at line 40 of file Bundle.php.
$_haveParents = false [protected] |