class MysqlSchemaParser extends BaseSchemaParser
Mysql 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) | ||
Column |
getColumnFromRow($row, Table $table)
Factory method creating a Column object based on a row from the 'show columns from ' MySQL query result. |
Details
in BaseSchemaParser at line 69
public
__construct(PDO $dbh = null)
in BaseSchemaParser at line 79
public
setConnection(PDO $dbh)
Sets the database connection.
in BaseSchemaParser at line 88
public PDO
getConnection()
Gets the database connection.
in BaseSchemaParser at line 98
public
setMigrationTable(string $migrationTable)
Setter for the migrationTable property
in BaseSchemaParser at line 108
public string
getMigrationTable()
Getter for the migrationTable property
in BaseSchemaParser at line 128
public array
getWarnings()
Gets array of warning messages.
in BaseSchemaParser at line 138
public
setGeneratorConfig(GeneratorConfigInterface $config)
Sets the GeneratorConfig to use in the parsing.
in BaseSchemaParser at line 148
public GeneratorConfig
getGeneratorConfig()
Gets the GeneratorConfig option.
in BaseSchemaParser at line 159
public mixed
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build.
in BaseSchemaParser at line 224
public
setPlatform($platform)
in BaseSchemaParser at line 229
public
getPlatform()
at line 86
public
parse(Database $database, Task $task = null)
at line 173
public Column
getColumnFromRow($row, Table $table)
Factory method creating a Column object based on a row from the 'show columns from ' MySQL query result.