1
0
mirror of synced 2025-01-18 22:41:43 +03:00

added exportSql()

This commit is contained in:
zYne 2007-06-14 20:44:40 +00:00
parent 82b9d0739c
commit 956b4bb0ca

View File

@ -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