Commit 51a444e2 authored by Jonathan.Wage's avatar Jonathan.Wage

More documentation.

parent 347ec127
......@@ -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);
......
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