[Uml-devel] Patch for php5 Code generation to add stub interface operations
Clarke Brunsdon
clarke at vossoc.org
Fri Aug 25 11:05:39 UTC 2006
This patch adds (to the php5 code generation) stub-methods for all
interfaces a class implements.
It will add the methods, with a method body of:
trigger_error("Implement " . __FUNCTION);
which, if called, will trigger php to print out a notice looking like:
Notice: Implement test in /home/clarke/test.php on line 4
This is desirable since the methods all need to be declared in the class
anyways, avoiding having to put them in manually.
http://www.nullfs.com/umbrello_php5_generator_realization_stub.patch
More information about the umbrello-devel
mailing list