Doctrine


Doctrine\DBAL\Schema\Visitor\CreateSchemaSqlCollector
/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 33

Class CreateSchemaSqlCollector

CreateSchemaSqlCollector

public class CreateSchemaSqlCollector


Constructor Summary

CreateSchemaSqlCollector(AbstractPlatform platform)

Method Summary
void

acceptColumn(mixed table, mixed column)

void

acceptForeignKey(Table localTable, ForeignKeyConstraint fkConstraint)

void

acceptIndex(Table table, Index index)

void

acceptSchema(Schema schema)

void

acceptSequence(Sequence sequence)

void

acceptTable(Table table)

Generate DDL Statements to create the accepted table with all its dependencies.

array

getQueries()

Get all queries collected so far.

array

resetQueries()

Constructor Detail

/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 59

CreateSchemaSqlCollector

public CreateSchemaSqlCollector(AbstractPlatform platform)


Method Detail

/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 84

acceptColumn

public void acceptColumn(mixed table, mixed column)

/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 93

acceptForeignKey

public void acceptForeignKey(Table localTable, ForeignKeyConstraint fkConstraint)


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 107

acceptIndex

public void acceptIndex(Table table, Index index)


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 67

acceptSchema

public void acceptSchema(Schema schema)


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 115

acceptSequence

public void acceptSequence(Sequence sequence)


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 77

acceptTable

public void acceptTable(Table table)

Generate DDL Statements to create the accepted table with all its dependencies.


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 137

getQueries

public array getQueries()

Get all queries collected so far.


/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php at line 125

resetQueries

public array resetQueries()


Doctrine