Writer handler for files containing PHP arrays that represent DB schemas.
Source for this file: /DatabaseSchema/src/handlers/php_array/writer.php
Version: | //autogentag// |
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
)
Saves the differences in $schemaDiff to the file $file |
public void |
saveToFile(
$file
, $dbSchema
)
Saves the schema definition in $schema to the file $file. |
Returns what type of schema difference writer this class implements.
This method always returns ezcDbSchema::FILE
Method | Description |
---|---|
ezcDbSchemaDiffWriter::getDiffWriterType() |
Returns what type of schema difference writer this class implements. |
Returns what type of schema writer this class implements.
This method always returns ezcDbSchema::FILE
Method | Description |
---|---|
ezcDbSchemaWriter::getWriterType() |
Returns what type of schema writer this class implements. |
Saves the differences in $schemaDiff to the file $file
Name | Type | Description |
---|---|---|
$file |
string | |
$dbSchemaDiff |
ezcDbSchemaDiff |
Method | Description |
---|---|
ezcDbSchemaDiffFileWriter::saveDiffToFile() |
Saves the differences in $schemaDiff to the file $file |
Saves the schema definition in $schema to the file $file.
Name | Type | Description |
---|---|---|
$file |
string | |
$dbSchema |
ezcDbSchema |
Method | Description |
---|---|
ezcDbSchemaFileWriter::saveToFile() |
Saves the schema definition in $schema to the file $file. |