app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-0.9.3-0.9.4.php File Reference

Go to the source code of this file.

Packages

package  Mage_Sales

Variables

 $installer = $this
 $itemFields = $installer->getConnection()->describeTable($installer->getTable('sales_flat_order_item'))
 $itemEntityId = $installer->getEntityTypeId('order_item')
 $itemAttributes = $installer->getConnection()->fetchPairs("SELECT attribute_id, attribute_code FROM {$installer->getTable('eav_attribute')} WHERE entity_type_id={$itemEntityId}")
 $items = $installer->getConnection()->fetchAll("SELECT * FROM {$installer->getTable('sales_order_entity')} WHERE entity_type_id={$itemEntityId}")


Variable Documentation

$installer = $this

Definition at line 27 of file mysql4-upgrade-0.9.3-0.9.4.php.

$itemAttributes = $installer->getConnection()->fetchPairs("SELECT attribute_id, attribute_code FROM {$installer->getTable('eav_attribute')} WHERE entity_type_id={$itemEntityId}")

Definition at line 100 of file mysql4-upgrade-0.9.3-0.9.4.php.

$itemEntityId = $installer->getEntityTypeId('order_item')

Definition at line 98 of file mysql4-upgrade-0.9.3-0.9.4.php.

$itemFields = $installer->getConnection()->describeTable($installer->getTable('sales_flat_order_item'))

Definition at line 97 of file mysql4-upgrade-0.9.3-0.9.4.php.

$items = $installer->getConnection()->fetchAll("SELECT * FROM {$installer->getTable('sales_order_entity')} WHERE entity_type_id={$itemEntityId}")

Definition at line 102 of file mysql4-upgrade-0.9.3-0.9.4.php.


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