Propel 2 API
Class

Propel\Generator\Reverse\AbstractSchemaParser

abstract class AbstractSchemaParser implements SchemaParserInterface

Base class for reverse engineering a database schema.

Methods

__construct(ConnectionInterface $dbh = null)

setConnection(ConnectionInterface $dbh)

Sets the database connection.

ConnectionInterface getConnection()

Gets the database connection.

setMigrationTable(string $migrationTable)

Setter for the migrationTable property

string getMigrationTable()

Getter for the migrationTable property

string[] getWarnings()

Gets array of warning messages.

setGeneratorConfig(GeneratorConfigInterface $config)

Sets the GeneratorConfig to use in the parsing.

GeneratorConfig getGeneratorConfig()

Gets the GeneratorConfig option.

mixed getBuildProperty(string $name)

Gets a specific propel (renamed) property from the build.

setPlatform($platform)

getPlatform()

Details

at line 70
public __construct(ConnectionInterface $dbh = null)

Parameters

ConnectionInterface $dbh Optional database connection

at line 82
public setConnection(ConnectionInterface $dbh)

Sets the database connection.

Parameters

ConnectionInterface $dbh

at line 91
public ConnectionInterface getConnection()

Gets the database connection.

Return Value

ConnectionInterface

at line 101
public setMigrationTable(string $migrationTable)

Setter for the migrationTable property

Parameters

string $migrationTable

at line 111
public string getMigrationTable()

Getter for the migrationTable property

Return Value

string

at line 131
public string[] getWarnings()

Gets array of warning messages.

Return Value

string[]

at line 141
public setGeneratorConfig(GeneratorConfigInterface $config)

Sets the GeneratorConfig to use in the parsing.

Parameters

GeneratorConfigInterface $config

at line 151
public GeneratorConfig getGeneratorConfig()

Gets the GeneratorConfig option.

Return Value

GeneratorConfig

at line 162
public mixed getBuildProperty(string $name)

Gets a specific propel (renamed) property from the build.

Parameters

string $name

Return Value

mixed

at line 227
public setPlatform($platform)

Parameters

$platform

at line 232
public getPlatform()