PHP Class Jsor\Doctrine\PostGIS\Schema\CreateTableSqlGenerator

Afficher le fichier Open project: jsor/doctrine-postgis Class Usage Examples

Méthodes publiques

Méthode 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 = [] )

Méthodes protégées

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

Method Details

__construct() public méthode

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

_getCreateTableSQL() public méthode

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

getColumnComment() protected méthode

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 méthode

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

getSql() public méthode

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