app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.32-0.7.33.php File Reference

Go to the source code of this file.

Packages

package  Mage_Catalog

Variables

 $installer = $this
 $attributeId = $installer->getAttributeId('catalog_category', 'is_active')
 $entityTypeId = $installer->getEntityTypeId('catalog_category')
 $categoryIntTable = $installer->getTable('catalog_category_entity_int')
 $categoryTable = $installer->getTable('catalog_category_entity')
 $attributesCount = $installer->getConnection()->fetchOne("SELECT count(*) FROM `{$categoryIntTable}` WHERE attribute_id='{$attributeId}'")
 $valueId = $installer->getConnection()->fetchOne("SELECT MAX(value_id) FROM `{$categoryIntTable}`")


Variable Documentation

$attributeId = $installer->getAttributeId('catalog_category', 'is_active')

Definition at line 30 of file mysql4-upgrade-0.7.32-0.7.33.php.

$attributesCount = $installer->getConnection()->fetchOne("SELECT count(*) FROM `{$categoryIntTable}` WHERE attribute_id='{$attributeId}'")

Definition at line 36 of file mysql4-upgrade-0.7.32-0.7.33.php.

$categoryIntTable = $installer->getTable('catalog_category_entity_int')

Definition at line 34 of file mysql4-upgrade-0.7.32-0.7.33.php.

$categoryTable = $installer->getTable('catalog_category_entity')

Definition at line 35 of file mysql4-upgrade-0.7.32-0.7.33.php.

$entityTypeId = $installer->getEntityTypeId('catalog_category')

Definition at line 31 of file mysql4-upgrade-0.7.32-0.7.33.php.

$installer = $this

Definition at line 27 of file mysql4-upgrade-0.7.32-0.7.33.php.

$valueId = $installer->getConnection()->fetchOne("SELECT MAX(value_id) FROM `{$categoryIntTable}`")

Definition at line 37 of file mysql4-upgrade-0.7.32-0.7.33.php.


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