Hi ya'll, Dirk and I enhanced the CreateObject method in HEAD. Don't worry - we kept the old functionality.
Now, CreateObject as a factory method checks for a factory class in the modules before it would create the instance by the old logic. I implemented this factory class for the phpgwapi: "class.ofphpgwapi.inc.php". If you want (you don't have to) to use your own factory class in your own module - you only have the create the class: "class.of<your module name>.inc.php". Have a look at "class.ofphpgwapi.inc.php" as an example. Cheers, fips _______________________________________________ Phpgroupware-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
