app/code/core/Mage/Tag/sql/tag_setup/mysql4-upgrade-0.7.1-0.7.2.php File Reference

Go to the source code of this file.

Packages

package  Mage_Core

Variables

 $installer = $this
 $purgeFk
 $purgeIndex
foreach($purgeFk as $tableName=>
$columns) foreach($purgeIndex
as $prop) $installer 
getConnection ()->addKey($installer->getTable('tag/relation')
foreach($purgeFk as $tableName=>
$columns) foreach($purgeIndex
as $prop) $installer
$installer $installer
$installer $installer
$installer getConnection()->
addConstraint('FK_TAG_RELATION_PRODUCT'$installer 
getTable ('tag/relation')
foreach($purgeFk as $tableName=>
$columns) foreach($purgeIndex
as $prop) $installer
$installer $installer
$installer $installer
$installer getConnection()->
addConstraint('FK_TAG_RELATION_PRODUCT'$installer
$installer 
true


Variable Documentation

$installer = $this

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

$purgeFk

Initial value:

 array(
    $installer->getTable('tag/relation') => array(
        'product_id', 'tag_id', 'customer_id', 'store_id'
    ),
    $installer->getTable('tag/summary') => array(
        'tag_id'
    ),
)

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

$purgeIndex

Initial value:

 array(
    array(
        $installer->getTable('tag/relation'),
        array('product_id')
    ),
    array(
        $installer->getTable('tag/relation'),
        array('tag_id')
    ),
    array(
        $installer->getTable('tag/relation'),
        array('customer_id')
    ),
    array(
        $installer->getTable('tag/relation'),
        array('store_id')
    ),
    array(
        $installer->getTable('tag/summary'),
        array('tag_id')
    ),
)

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

foreach ($purgeFk as $tableName=> $columns) foreach ($purgeIndex as $prop) $installer $installer $installer $installer $installer getConnection()->addKey($installer->getTable('tag/summary')

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

$installer getConnection ()->addConstraint('FK_TAG_SUMMARY_TAG' $installer $installer getTable('tag/tag')

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

$installer getConnection ()->addConstraint('FK_TAG_SUMMARY_TAG' $installer $installer true

Definition at line 96 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