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') |
$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.