DatabaseSchema: ezcDbSchemaXmlWriter
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaXmlWriter
|
Handler that stores database definitions and database difference definitions to a file in an XML format. [
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, $dbSchema )
Writes the schema difference definition in $dbSchema to the file $file. |
|
public void |
saveToFile(
$file, $dbSchema )
Writes the schema definition in $dbSchema 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
Writes the schema difference definition in $dbSchema to the file $file.
Parameters
saveToFile
Writes the schema definition in $dbSchema to the file $file.
Parameters
| Name |
Type |
Description |
$file |
string |
|
$dbSchema |
ezcDbSchema |
|
Last updated: Mon, 05 Jan 2009