Propel API
Class

PgsqlSchemaParser

class PgsqlSchemaParser extends BaseSchemaParser

Postgresql database schema parser.

Methods

__construct(PDO $dbh = null)

from BaseSchemaParser
setConnection(PDO $dbh)

Sets the database connection.

from BaseSchemaParser
PDO getConnection()

Gets the database connection.

from BaseSchemaParser
setMigrationTable(string $migrationTable)

Setter for the migrationTable property

from BaseSchemaParser
string getMigrationTable()

Getter for the migrationTable property

from BaseSchemaParser
array getWarnings()

Gets array of warning messages.

from BaseSchemaParser
setGeneratorConfig(GeneratorConfigInterface $config)

Sets the GeneratorConfig to use in the parsing.

from BaseSchemaParser
GeneratorConfig getGeneratorConfig()

Gets the GeneratorConfig option.

from BaseSchemaParser
mixed getBuildProperty(string $name)

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

from BaseSchemaParser
setPlatform($platform)

from BaseSchemaParser
getPlatform()

from BaseSchemaParser
parse(Database $database, Task $task = null)

Details

in BaseSchemaParser at line 69
public __construct(PDO $dbh = null)

Parameters

PDO $dbh Optional database connection

in BaseSchemaParser at line 79
public setConnection(PDO $dbh)

Sets the database connection.

Parameters

PDO $dbh

in BaseSchemaParser at line 88
public PDO getConnection()

Gets the database connection.

Return Value

PDO

in BaseSchemaParser at line 98
public setMigrationTable(string $migrationTable)

Setter for the migrationTable property

Parameters

string $migrationTable

in BaseSchemaParser at line 108
public string getMigrationTable()

Getter for the migrationTable property

Return Value

string

in BaseSchemaParser at line 129
public array getWarnings()

Gets array of warning messages.

Return Value

array string[]

in BaseSchemaParser at line 139
public setGeneratorConfig(GeneratorConfigInterface $config)

Sets the GeneratorConfig to use in the parsing.

Parameters

GeneratorConfigInterface $config

in BaseSchemaParser at line 149
public GeneratorConfig getGeneratorConfig()

Gets the GeneratorConfig option.

Return Value

GeneratorConfig

in BaseSchemaParser at line 160
public mixed getBuildProperty(string $name)

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

Parameters

string $name

Return Value

mixed

in BaseSchemaParser at line 219
public setPlatform($platform)

Parameters

$platform

in BaseSchemaParser at line 224
public getPlatform()

at line 78
public parse(Database $database, Task $task = null)

Parameters

Database $database
Task $task