app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.46-0.7.47.php File Reference

Go to the source code of this file.

Packages

package  Mage_Catalog

Variables

 $installer = $this
 $categories
 $statusAttributeId = $installer->getAttributeId('catalog_product', 'status')
 $visibilityAttributeId = $installer->getAttributeId('catalog_product', 'visibility')
 $websiteIds = $installer->getConnection()->fetchCol("SELECT website_id FROM {$installer->getTable('core_website')}")


Variable Documentation

$categories

Initial value:

 $installer->getConnection()->fetchAll(
    $installer->getConnection()->select()
        ->from($installer->getTable('catalog_category_entity'))
        ->order('level')
        ->order('path')
)
Build category product index

Definition at line 59 of file mysql4-upgrade-0.7.46-0.7.47.php.

$installer = $this

Definition at line 27 of file mysql4-upgrade-0.7.46-0.7.47.php.

$statusAttributeId = $installer->getAttributeId('catalog_product', 'status')

Build product visibility index

Definition at line 97 of file mysql4-upgrade-0.7.46-0.7.47.php.

$visibilityAttributeId = $installer->getAttributeId('catalog_product', 'visibility')

Definition at line 98 of file mysql4-upgrade-0.7.46-0.7.47.php.

$websiteIds = $installer->getConnection()->fetchCol("SELECT website_id FROM {$installer->getTable('core_website')}")

Definition at line 103 of file mysql4-upgrade-0.7.46-0.7.47.php.


Generated on Sat Jul 4 17:22:26 2009 for Magento by  doxygen 1.5.8