Code Generation (PHP)

Hello everybody,

I`ve only a short question:

Is it possible to generate code from class diagramm with file names different from class names? - If yes, how can i do this?

Thanks in advance!

Greets
Daniel

Hello danjo2002,

We are sorry that at the moment we do not support generate PHP class file with file name different to class name. May I know why you want to do this?

Best regards,
Rain

Hi Rain,

thank you for your answer.

We are using Zend Framework. ( framework.zend.com )

The convention there is:

Classname: “Zend_Package_Filename”

Directory/File: Zend/Package/Filename.php

It would be nice to generate those structures within Visual Paradigm.

Do you think this feature will be available in future?

Thanks
Daniel

Hi Daniel,

Sorry for our late reply.

How about drawing like the diagram attached? By drawing this and then generating PHP code, there will be a Zend folder generated, with the Package folder in it, and eventually the PHP file.

Please let me know if this solves your problem.

Best regards,
Jick
package-structure.png