Dia installer
Installing under Windows is remarkably simple.
Just download:
ZIP
on our server, or from a mirror of
Sourceforge :
Then, just extract (
EXE) whose name syntax is
"dia-VERSION-setup", and follow the on-screen instructions.
Adding the plugin
1st. stage : download the plugin.
The plugin comprises the following files:
- stylesheet.xml
- dia-uml-classes.zx
- dia-uml2php5.zx
- dia-uml2phpsoap.zx
- dia-uml2php5.conf.xsl
They must be in DIA's "xslt" sub-directory.
Normally, there's already a stylesheet.xml, rename it stylesheet.xml.old for future reference.
Utilisation
- Draw your UML diagram
- Save it to .dia format
- Export via the XSL *.codefiltre
- A popup opens:
- Select UML-CLASSES-EXTENDEDin the upper box
- Select PHP5 in the lower box
- Enter
The plugin will generate as many .class.php files as necessary in the
same directory as the original .dia file.