UML2PHP5 -> Support::inheritance
UML diagram
UML Diagram: inheritance
Support by UML2PHP5
Constraint Supported
Generate MyClassA.class.php file YES
Generate MyClassB.class.php YES
Generate require_once('MyClassA.class.php'); in MyClassB.class.php YES
Generateclass MyClassB extends MyClassA { in MyClassB.class.php YES
Generate error in case of multiple inheritance ? ???
File: MyClassA.class.php
<?php
/**
 * 
 * Code skeleton generated by dia-uml2php5 plugin
 * written by KDO kdo@zpmag.com 
 */

class MyClassA {



}
?>
File: MyClassB.class.php
<?php
/**
 * 
 * Code skeleton generated by dia-uml2php5 plugin
 * written by KDO kdo@zpmag.com 
 */
require_once('MyClassA.class.php');

class MyClassB extends MyClassA {



}
?>

Valid XHTML 1.1! Valid CSS! Mozilla Homepage Apache Web Server! PHP: Hypertext Processor MySQL: Open Source Database
Get Firefox!