XML Schemas and Doctrine

June 13th, 2008 jasoneisen

For those of you who detest yml (like me) I have written support back in for xml schemas in Doctrine. They have been gracious enough to set me up with my own svn branch, so you can check it out here: http://svn.phpdoctrine.org/branches/experimental/jason/.

This creates 3 new functions:

Doctrine::generateXmlFromYaml($yamlPath, $xmlPath, $options);
 
Doctrine::generateYamlFromXml($xmlPath, $yamlPath, $options);
 
Doctrine::generateModelsFromXml($xmlPath, $directory, $options);

No, the args for the models method aren’t backwards, I matched it to the current generateModelsFromYaml(). Enjoy :)

Tags:

Posted in Doctrine | No Comments »