DatabaseSchema: ezcDbSchemaPhpArrayWriter
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaPhpArrayWriter
|
Writer handler for files containing PHP arrays that represent DB schemas. [
source]
Implemented Interfaces
Method Summary
|
public int |
getDiffWriterType(
)
Returns what type of schema difference writer this class implements. |
|
public int |
getWriterType(
)
Returns what type of schema writer this class implements. |
|
public void |
saveDiffToFile(
$file, $dbSchemaDiff, $schemaDiff )
Saves the differences in $schemaDiff to the file $file |
|
public void |
saveToFile(
$file, $dbSchema, $schema )
Saves the schema definition in $schema to the file $file. |
Methods
getDiffWriterType
int getDiffWriterType(
)
Returns what type of schema difference writer this class implements.
This method always returns ezcDbSchema::FILE
getWriterType
int getWriterType(
)
Returns what type of schema writer this class implements.
This method always returns ezcDbSchema::FILE
saveDiffToFile
Saves the differences in $schemaDiff to the file $file
Parameters
saveToFile
Saves the schema definition in $schema to the file $file.
Parameters
Last updated: Thu, 01 Nov 2007