0.10 Doctrine_Export_Frontbase
Doctrine Export Frontbase
Inheritence
Doctrine_Export_Frontbase < Doctrine_Export < Doctrine_Connection_Module
Method Summary
| Returns | Name | Description |
|---|---|---|
| boolean | alterTable | |
| string | createDatabaseSql | |
| createSequence | ||
| string | dropDatabaseSql | |
| boolean | dropIndexSql | |
| string | dropSequenceSql | |
| string | dropTableSql |
Methods inherited from Doctrine_Export
exportSchema , dropDatabaseSql , exportGeneratorsSql , createConstraintSql , dropSequence , createIndexSql , getDeclaration , createTableSql , getDefaultFieldDeclaration , getAdvancedForeignKeyOptions , dropDatabase , exportClassesSql , getCharsetFieldDeclaration , getCollationFieldDeclaration , dropIndex , dropSequenceSql , createConstraint , alterTableSql , exportTable , getForeignKeyBaseDeclaration , createForeignKeySql , getCheckDeclaration , exportClasses , dropTable , exportSql , getForeignKeyReferentialAction , alterTable , dropIndexSql , dropTableSql , dropConstraint , createSequence , createIndex , getUniqueFieldDeclaration , getForeignKeyDeclaration , getTemporaryTableQuery , dropForeignKey , createSequenceSql , getIndexDeclaration , getAllGenerators , createDatabase , createForeignKey , getFieldDeclarationList , createTable , createDatabaseSql , getIndexFieldDeclarationListMethod Details
-
$name name of the table that is intended to be changed. $changes associative array that contains the details of each type of change that is intended to be performed. The types of changes that are currently supported are defined as follows:
name
New name f
$check indicates whether the function should just check if the DBMS driver can perform the requested table alterations if the value is true or actually perform them otherwise. (boolean) alterTable($name, $changes, $check = false)
alter an existing table
-
$name name of the database that should be created (string) createDatabaseSql($name)
create a new database
-
$start start value of the sequence; default is 1 $options An associative array of table options: array( 'comment' => 'Foo', 'charset' => 'utf8', 'collate' => 'utf8_unicode_ci', ); $seqName name of the sequence to be created createSequence($sequenceName, $start = 1, $options = array(), $seqName)
create sequence
-
$name name of the database that should be dropped (string) dropDatabaseSql($name)
drop an existing database
-
$table name of table that should be used in method $name name of the index to be dropped (boolean) dropIndexSql($table, $name)
drop existing index
-
$seqName name of the sequence to be dropped (string) dropSequenceSql($seqName)
drop existing sequence
-
$name name of the table that should be dropped $this->conns database object that is extended by this class (string) dropTableSql($name, $this->conns)
drop an existing table




Comments (0) [ add comment ]
No Comments
Add Comment