On Jan 9, 2008 1:16 PM, John Papas <[EMAIL PROTECTED]> wrote:

> I can't seemd to find a way to add a constructor to my classes :( and
> I'm trying to generate PHP5.

I'm not sure if that's two questions or one.  I'll presume two.

How you model constructors depends on your target language and code
generation framework.  Typically they are either created for you
automatically by the code generator or you model them using the target
language semantics ie for PHP you'd create an Operation with the same
name as the Class that contains it.

To generator PHP5 using ArgoUML's PHP code generator, first make sure
that you've got the PHP module installed.  If you're running from a
standard release distribution (e.g. 0.24), you should have this
already.  Selection Generation->Generate All Classes and select the
boxes in the PHP5 column next to the classes that you want to have
generated.  If you don't see columns labelled PHP4 & PHP5, then
ArgoUML isn't finding the PHP module.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to