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); $manager->setCurrentConnection('graydon'); Doctrine::generateModelsFromDb(realpath(dirname(__FILE__)).'/models/graydon', array('graydon')); $manager->setCurrentConnection('intersud'); Doctrine::generateModelsFromDb(realpath(dirname(__FILE__)).'/models/intersud', array('intersud')); $manager->setCurrentConnection('sdv1'); Doctrine::generateModelsFromDb(realpath(dirname(__FILE__)).'/models/sdv1', array('sdv1')); ?>