setAttribute( Doctrine::ATTR_MODEL_LOADING, Doctrine::MODEL_LOADING_CONSERVATIVE); $manager->setAttribute( Doctrine::ATTR_AUTO_ACCESSOR_OVERRIDE, TRUE ); $manager->setAttribute( Doctrine::ATTR_USE_NATIVE_ENUM, TRUE); if(!file_exists($modelsPath)) mkdir($modelsPath); foreach($dbs as $db) { echo 'Génération models '.$db; $manager->setCurrentConnection($db); $generate = Doctrine::generateModelsFromDb($modelsPath.'/'.$db, array($db)); echo '
';
	print_r($generate);
	echo '
'; echo '
'; } ?>