app/code/core/Mage/CatalogRule/sql/catalogrule_setup/mysql4-upgrade-0.7.1-0.7.2.php File Reference

Go to the source code of this file.

Packages

package  Mage_CatalogRule

Variables

 $installer = $this
 $conn = $installer->getConnection()
 $websites = $conn->fetchPairs("SELECT store_id, website_id FROM {$installer->getTable('core_store')}")
 $ruleTable = $this->getTable('catalogrule')
if($conn->tableColumnExists($ruleTable,
'store_ids')) 
$ruleProductTable = $this->getTable('catalogrule_product')
if($conn->tableColumnExists($ruleProductTable,
'store_id')) 
$ruleProductPriceTable = $this->getTable('catalogrule_product_price')


Variable Documentation

$conn = $installer->getConnection()

Definition at line 32 of file mysql4-upgrade-0.7.1-0.7.2.php.

$installer = $this

Definition at line 27 of file mysql4-upgrade-0.7.1-0.7.2.php.

if ($conn->tableColumnExists($ruleProductTable, 'store_id')) $ruleProductPriceTable = $this->getTable('catalogrule_product_price')

Definition at line 88 of file mysql4-upgrade-0.7.1-0.7.2.php.

if ($conn->tableColumnExists($ruleTable, 'store_ids')) $ruleProductTable = $this->getTable('catalogrule_product')

Definition at line 56 of file mysql4-upgrade-0.7.1-0.7.2.php.

$ruleTable = $this->getTable('catalogrule')

Definition at line 34 of file mysql4-upgrade-0.7.1-0.7.2.php.

$websites = $conn->fetchPairs("SELECT store_id, website_id FROM {$installer->getTable('core_store')}")

Definition at line 33 of file mysql4-upgrade-0.7.1-0.7.2.php.


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