RE: Renaming generated Classes in PHP

"Tom Morris" <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.user
Message-ID <00cb01c7417c$f4c65fe0$6501a8c0@micronxp>
Torsten72 asked:

> Hi is there a way or a preference to rename the generated Classes form
> 
> class.Test.php
> 
> to either
> 
> Test.class.php
> 
> or
> 
> Test.php

I had a quick look at the PHP code generator and this isn't currently
configurable.  For PHP4 it will use "Test.php" and for PHP5 it will use
"class.Test.php" or "interface.Test.php".  I'm not that familiar with PHP
coding conventions, but having a quick look around it would appear that the
most popular convention is to convert camel case to underscores, so the
filename would be "test.php" or "big_test.php" for the class "BigTest."

If you'd like to see the current behavior changed, please file a bug report
or enhancement request in the issue tracking system.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.