1
0
mirror of synced 2025-01-18 14:31:40 +03:00

More documentation.

This commit is contained in:
Jonathan.Wage 2007-10-11 04:24:01 +00:00
parent 347ec1272b
commit 51a444e2e8

View File

@ -763,7 +763,6 @@ final class Doctrine
file_put_contents($path, $code);
}
/**
* exportSql
* method for exporting Doctrine_Record classes to a schema
@ -774,6 +773,14 @@ final class Doctrine
{
return Doctrine_Manager::connection()->export->exportSql($directory);
}
/**
* generateSqlFromModels
*
* Generate sql for directory of models
*
* @param string $directory Directory where your models exist
* @return void
*/
public static function generateSqlFromModels($directory)
{
return self::exportSql($directory);