Doctrine


Doctrine\DBAL\Schema\TableDiff
/Doctrine/DBAL/Schema/TableDiff.php at line 35

Class TableDiff

TableDiff

public class TableDiff

Table Diff

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
http://ez.no/licenses/new_bsd New BSD License
See Also:
www.doctrine-project.org
Copyright:
Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
Since:
2.0
Version:
$Revision$
Author:
Benjamin Eberlei

Field Summary
array(string=>Column)

$addedColumns

All added fields

array

$addedForeignKeys

All added foreign key definitions

array(string=>Index)

$addedIndexes

All added indexes

array(string=>Column)

$changedColumns

All changed fields

array

$changedForeignKeys

All changed foreign keys

array(string=>Index)

$changedIndexes

All changed indexes

string

$name

string

$newName

array(string=>bool)

$removedColumns

All removed fields

array

$removedForeignKeys

All removed foreign keys

array(string=>bool)

$removedIndexes

All removed indexes

array(string=>Column)

$renamedColumns

Columns that are only renamed from key to column instance name.

Constructor Summary

TableDiff(mixed tableName, array(string=>Column) addedColumns, array(string=>Column) changedColumns, array(string=>bool) removedColumns, array(string=>Index) addedIndexes, array(string=>Index) changedIndexes, array(string=>bool) removedIndexes)

Constructs an TableDiff object.

Field Detail

/Doctrine/DBAL/Schema/TableDiff.php at line 52

addedColumns

public array(string=>Column) $addedColumns

All added fields


/Doctrine/DBAL/Schema/TableDiff.php at line 101

addedForeignKeys

public array $addedForeignKeys = array()

All added foreign key definitions


/Doctrine/DBAL/Schema/TableDiff.php at line 80

addedIndexes

public array(string=>Index) $addedIndexes = array()

All added indexes


/Doctrine/DBAL/Schema/TableDiff.php at line 59

changedColumns

public array(string=>Column) $changedColumns = array()

All changed fields


/Doctrine/DBAL/Schema/TableDiff.php at line 108

changedForeignKeys

public array $changedForeignKeys = array()

All changed foreign keys


/Doctrine/DBAL/Schema/TableDiff.php at line 87

changedIndexes

public array(string=>Index) $changedIndexes = array()

All changed indexes


/Doctrine/DBAL/Schema/TableDiff.php at line 40

name

public string $name = null


/Doctrine/DBAL/Schema/TableDiff.php at line 45

newName

public string $newName = false


/Doctrine/DBAL/Schema/TableDiff.php at line 66

removedColumns

public array(string=>bool) $removedColumns = array()

All removed fields


/Doctrine/DBAL/Schema/TableDiff.php at line 115

removedForeignKeys

public array $removedForeignKeys = array()

All removed foreign keys


/Doctrine/DBAL/Schema/TableDiff.php at line 94

removedIndexes

public array(string=>bool) $removedIndexes = array()

All removed indexes


/Doctrine/DBAL/Schema/TableDiff.php at line 73

renamedColumns

public array(string=>Column) $renamedColumns = array()

Columns that are only renamed from key to column instance name.


Constructor Detail

/Doctrine/DBAL/Schema/TableDiff.php at line 127

TableDiff

public TableDiff(mixed tableName, array(string=>Column) addedColumns, array(string=>Column) changedColumns, array(string=>bool) removedColumns, array(string=>Index) addedIndexes, array(string=>Index) changedIndexes, array(string=>bool) removedIndexes)

Constructs an TableDiff object.


Doctrine