[Implemented] Is the .dcm. in the filename important?

0 votes
asked Dec 7, 2012 in Solved by peterb (780 points)
edited Jan 11, 2013 by ludek.vodicka

Fussy or what, but I prefer my files to be named MyEntity.php and not MyEntity.dcm.php. Does ORM Designer need this in the filename to identify 'its' files? If not, could it be an option to remove in future?

Thanks!

2 Answers

0 votes
answered Dec 7, 2012 by ludek.vodicka Skipper developer (140,450 points)
selected Dec 7, 2012 by peterb
 
Best answer

ORM Designer doesn't require any file name convention. You can change output file name by setting export-file-name property for each entity.

Image caption

The reason why ORM Designer generates name as entity.dcm.php is because Doctrine2 default naming for XML/YML files are .dcm.xml / .dcm.yml. You can change this in module property file-suffix :

Image caption

But right now there is no option to generate name without any suffix. We will add this option in the next release. (When no value is selected is ORM Designer uses ".dcm." as default value)

0 votes
answered Jan 10, 2013 by ludek.vodicka Skipper developer (140,450 points)

This issue was fixed in latest version 2.1.6.677. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

...