Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: ChristopheL on August 26, 2012, 01:03:50 am

Title: how import standard PHP classes into Class diagram
Post by: ChristopheL on August 26, 2012, 01:03:50 am
Hello,

I'm working with EA 9.0 and I generate Class diagrams from a PHP source code.

I have some classes which inherits from the standard PHP classes.

Do you know how I can import a standard PHP class into a PHP diagram please, so it is visible that my classes inherit from it ?

Thanks in advance.

Best regards,
Christophe
Title: Re: how import standard PHP classes into Class dia
Post by: Paulus on August 26, 2012, 02:41:02 am
I dont know how but is that something that's really required? I mean, if you create a package php base, define a stub for each of the required php base classes and inherit from them, wouldn't that result in the same generated sources?


Alternatively, download the sources from the PHP website and import these
Title: Re: how import standard PHP classes into Class dia
Post by: Geert Bellekens on August 27, 2012, 04:32:05 pm
You can reverse engineer either the source code, or in some circumstances the binaries.

Geert