Commit 956b4bb0 authored by zYne's avatar zYne

added exportSql()

parent 82b9d073
......@@ -430,7 +430,17 @@ final class Doctrine
*/
public static function export($directory)
{
Doctrine_Export::export();
return Doctrine_Manager::connection()->export->export($directory);
}
/**
* exportSql
* method for exporting Doctrine_Record classes to a schema
*
* @param string $directory
*/
public static function exportSql($directory)
{
return Doctrine_Manager::connection()->export->exportSql($directory);
}
/**
* compile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment