2010-08-22 54 views

回答

0
//Doctrine_Core::generateYamlFromDb($yamlPath, array $connections = array(), array $options = array()) 

Doctrine_Core::generateYamlFromDb(
    'schema.yml', 
    array(), // will use the default connection 
    array(// the $options array 
     'classPrefix'=>'Prefix', 
     'classPrefixFiles'=>true 
    ) 
); 

未測試:D

相關問題