From: Richard T. <ric...@ht...> - 2003-04-18 10:49:51
|
On Thu, 2003-04-10 at 07:57, Leandro Lucarella wrote: > Hi! I'm starting to use dia2code and I have to say that it's a great > utility! I'm starting to make some PHP classes to PEAR > (http://pear.php.net/) so I made a patch for generating a more "PEAR > compatible" (to use PEAR coding standards). Is there someone here who objects to me pushing this into CVS? I will of course check out the source code first. Are there any other people here who use PHP with d2c? best /Richard > Changes: > * License (header) is now included after <?php is opened. > * More PHPDoc comments in variables and associations. > * Associations are not commented. > * Replaced include(""); with require_once '';. > * Fixed (or broked?) files to include (or require). > * Added PHPDoc comments for static vars and methods. > * Replaced @returns with @return. > * Added some more 'XXX' where user comment are needed. > TODO: > * Make private/protected methods/vars starts with an underscore. > * See if It's possible to play with package names to make classnames > like Package_Class (maybe Package_Class_Subclass?). > > I'm planning to write a code generation module for PHP5 too. > > Any comments/ideas/suggestions are welcome! |