[Uml-devel] Re: New php generator for Umbrello
Jonathan Riddell
jr at jriddell.org
Sun Aug 24 14:21:05 UTC 2003
On Fri, Aug 22, 2003 at 04:46:50PM +0200, fjey at email.cz wrote:
> Hello Jonathan,
>
> I've modified the Umbrello php generator to generate better php code (the original code is very poor!) - see the attachement (original file comes from /uml/codegenerators/phpwriter.cpp - umbrello-1.1.1 source distribution).
>
> Changes:
> - strictly uses tabs for indenting
> - better (more common) comments formating
> - adds @access, @abstract, @static for member variables and/or functions
> - adds types for @param and @return (@param <type>, @return <type>); unfortunatelly umbrello does not support comments for function return value, that's why only type for @return is provided
> - some other minor (not important) changes.
>
> I was not able to compile the latest version (from cvs) of Umbrello, that's why I did the changes in phpwriter from 1.1.1 version - I'm sorry for that, but I'm sure, you will be able to incorporate my changes into the latest source.
Cool. I'm going to put this on hold until we get the improved code
export generator code from Brian T but I shall mind and look at
incorporating it after that.
This sort of submission is best sent to uml-devel rather than directly
to me.
The code is at http://muse.19inch.net/~jr/tmp/phpwriter.cpp
Jonathan Riddell
More information about the umbrello-devel
mailing list