Author Topic: how import standard PHP classes into Class diagram  (Read 3385 times)

ChristopheL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
how import standard PHP classes into Class diagram
« 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

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: how import standard PHP classes into Class dia
« Reply #1 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
« Last Edit: August 26, 2012, 02:52:39 am by pmaessen »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: how import standard PHP classes into Class dia
« Reply #2 on: August 27, 2012, 04:32:05 pm »
You can reverse engineer either the source code, or in some circumstances the binaries.

Geert