Trac
Ticket #844: Doctrine.php.patch
| File Doctrine.php.patch, 0.8 kB (added by zomg, 6 months ago) |
|---|
Patch for Doctrine.php |
-
.
old new 804 804 * 805 805 * @param string $directory Directory to write your models to 806 806 * @param array $databases Array of databases to generate models for 807 * @param array $options Array of options to pass to the schema importer 807 808 * @return boolean 808 809 * @throws Exception 809 810 */ 810 public static function generateModelsFromDb($directory, array $databases = array() )811 public static function generateModelsFromDb($directory, array $databases = array(), array $options = array()) 811 812 { 812 return Doctrine_Manager::connection()->import->importSchema($directory, $databases );813 return Doctrine_Manager::connection()->import->importSchema($directory, $databases, $options); 813 814 } 814 815 815 816 /**