MIOLO20
|
Membros públicos | |
__construct (array $tables=array(), array $sequences=array(), SchemaConfig $schemaConfig=null) | |
hasExplicitForeignKeyIndexes () | |
getTables () | |
getTable ($tableName) | |
hasTable ($tableName) | |
hasSequence ($sequenceName) | |
getSequence ($sequenceName) | |
getSequences () | |
createTable ($tableName) | |
renameTable ($oldTableName, $newTableName) | |
dropTable ($tableName) | |
createSequence ($sequenceName, $allocationSize=1, $initialValue=1) | |
dropSequence ($sequenceName) | |
toSql (\Doctrine\DBAL\Platforms\AbstractPlatform $platform) | |
toDropSql (\Doctrine\DBAL\Platforms\AbstractPlatform $platform) | |
getMigrateToSql (Schema $toSchema, \Doctrine\DBAL\Platforms\AbstractPlatform $platform) | |
getMigrateFromSql (Schema $fromSchema, \Doctrine\DBAL\Platforms\AbstractPlatform $platform) | |
visit (Visitor $visitor) | |
__clone () | |
Membros públicos herdados de AbstractAsset | |
getName () | |
getQuotedName (AbstractPlatform $platform) | |
Membros protegidos | |
_addTable (Table $table) | |
_addSequence (Sequence $sequence) | |
Membros protegidos herdados de AbstractAsset | |
_setName ($name) | |
_generateIdentifierName ($columnNames, $postfix='', $maxSize=30) | |
Atributos Protegidos | |
$_tables = array() | |
$_sequences = array() | |
$_schemaConfig = false | |
Atributos Protegidos herdados de AbstractAsset | |
$_name | |
$_quoted = false | |
Object representation of a database schema
@license http://www.opensource.org/licenses/lgpl-license.php LGPL 2.0 $Revision$ Benjamin Eberlei konta.nosp@m.kt@b.nosp@m.eberl.nosp@m.ei.d.nosp@m.e
Definido na linha 37 do ficheiro Schema.php.
__construct | ( | array | $tables = array(), |
array | $sequences = array(), | ||
SchemaConfig | $schemaConfig = null ) |
array | $tables | |
array | $sequences | |
array | $views | |
array | $triggers | |
SchemaConfig | $schemaConfig |
Definido na linha 61 do ficheiro Schema.php.
__clone | ( | ) |
Cloning a Schema triggers a deep clone of all related assets.
Definido na linha 318 do ficheiro Schema.php.
|
protected |
Sequence | $sequence |
Definido na linha 101 do ficheiro Schema.php.
|
protected |
Table | $table |
Definido na linha 87 do ficheiro Schema.php.
createSequence | ( | $sequenceName, | |
$allocationSize = 1, | |||
$initialValue = 1 ) |
Create a new sequence
string | $sequenceName | |
int | $allocationSize | |
int | $initialValue |
Definido na linha 230 do ficheiro Schema.php.
createTable | ( | $tableName | ) |
Create a new table
string | $tableName |
Definido na linha 184 do ficheiro Schema.php.
dropSequence | ( | $sequenceName | ) |
dropTable | ( | $tableName | ) |
Drop a table from the schema.
string | $tableName |
Definido na linha 214 do ficheiro Schema.php.
getMigrateFromSql | ( | Schema | $fromSchema, |
\Doctrine\DBAL\Platforms\AbstractPlatform | $platform ) |
Schema | $fromSchema | |
AbstractPlatform | $platform |
Definido na linha 291 do ficheiro Schema.php.
getMigrateToSql | ( | Schema | $toSchema, |
\Doctrine\DBAL\Platforms\AbstractPlatform | $platform ) |
Schema | $toSchema | |
AbstractPlatform | $platform |
Definido na linha 280 do ficheiro Schema.php.
getSequence | ( | $sequenceName | ) |
SchemaException |
string | $sequenceName |
Definido na linha 161 do ficheiro Schema.php.
getSequences | ( | ) |
Definido na linha 173 do ficheiro Schema.php.
getTable | ( | $tableName | ) |
getTables | ( | ) |
hasExplicitForeignKeyIndexes | ( | ) |
Definido na linha 79 do ficheiro Schema.php.
hasSequence | ( | $sequenceName | ) |
hasTable | ( | $tableName | ) |
Does this schema have a table with the given name?
string | $tableName |
Definido na linha 140 do ficheiro Schema.php.
renameTable | ( | $oldTableName, | |
$newTableName ) |
Rename a table
string | $oldTableName | |
string | $newTableName |
Definido na linha 198 do ficheiro Schema.php.
toDropSql | ( | \Doctrine\DBAL\Platforms\AbstractPlatform | $platform | ) |
Return an array of necessary sql queries to drop the schema on the given platform.
AbstractPlatform | $platform |
Definido na linha 268 do ficheiro Schema.php.
toSql | ( | \Doctrine\DBAL\Platforms\AbstractPlatform | $platform | ) |
Return an array of necessary sql queries to create the schema on the given platform.
AbstractPlatform | $platform |
Definido na linha 254 do ficheiro Schema.php.
visit | ( | Visitor | $visitor | ) |
Visitor | $visitor |
Definido na linha 301 do ficheiro Schema.php.
|
protected |
Definido na linha 52 do ficheiro Schema.php.
|
protected |
Definido na linha 47 do ficheiro Schema.php.
|
protected |
Definido na linha 42 do ficheiro Schema.php.