PHP Class Jsor\Doctrine\PostGIS\Schema\CreateTableSqlGenerator

Datei anzeigen Open project: jsor/doctrine-postgis Class Usage Examples

Public Methods

Method Description
__construct ( PostgreSqlPlatform $platform, $isPostGis2 = true )
_getCreateTableSQL ( $tableName, array $columns, array $options = [] ) Full replacement of Doctrine\DBAL\Platforms\PostgreSqlPlatform::_getCreateTableSQL, check on updates!
getCreateTableSQL ( Doctrine\DBAL\Schema\Table $table, array $columns, array $options = [] )
getSql ( Doctrine\DBAL\Schema\Table $table, array $columns, array $options = [] )

Protected Methods

Method Description
getColumnComment ( Doctrine\DBAL\Schema\Column $column ) Full replacement of Doctrine\DBAL\Platforms\AbstractPlatform::getColumnComment, check on updates!

Method Details

__construct() public method

public __construct ( PostgreSqlPlatform $platform, $isPostGis2 = true )
$platform Doctrine\DBAL\Platforms\PostgreSqlPlatform

_getCreateTableSQL() public method

Full replacement of Doctrine\DBAL\Platforms\PostgreSqlPlatform::_getCreateTableSQL, check on updates!
public _getCreateTableSQL ( $tableName, array $columns, array $options = [] )
$columns array
$options array

getColumnComment() protected method

Full replacement of Doctrine\DBAL\Platforms\AbstractPlatform::getColumnComment, check on updates!
protected getColumnComment ( Doctrine\DBAL\Schema\Column $column )
$column Doctrine\DBAL\Schema\Column

getCreateTableSQL() public method

public getCreateTableSQL ( Doctrine\DBAL\Schema\Table $table, array $columns, array $options = [] )
$table Doctrine\DBAL\Schema\Table
$columns array
$options array

getSql() public method

public getSql ( Doctrine\DBAL\Schema\Table $table, array $columns, array $options = [] )
$table Doctrine\DBAL\Schema\Table
$columns array
$options array