From 51a444e2e82cc9212bd7e6d2375897bb3cbc2c2d Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 11 Oct 2007 04:24:01 +0000 Subject: [PATCH] More documentation. --- lib/Doctrine.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine.php b/lib/Doctrine.php index 3b769c59b..01e337eb3 100644 --- a/lib/Doctrine.php +++ b/lib/Doctrine.php @@ -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);