On Wed, 2005-04-13 at 10:13 +0200, Philipp Kamps wrote: > Hi ya'll, > > Dirk and I enhanced the CreateObject method in HEAD. > Don't worry - we kept the old functionality.
Some discussion about this before dumping it into CVS would have been good. If every "good idea" someone has gets committed to CVS we have a real mess to clean up. I'll admit the lists seems rather quiet these days. Some of the discussion occurs in other mediums, and sometime people just don't think they need to discuss things before doing it. Maybe it is that they are too busy. Whatever, things need to change. I think as we plan and move towards 0.9.18 more discussion on this list is really needed. I also think the CT needs to be better at providing summaries of discussions to the community. I will try to get something on this list in the few days - time permitting. Cheers Dave > > 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 -- Dave Hall (aka skwashd) API Coordinator phpGroupWare ------------------------------------------------------------------------- Do you think if Bill Gates got laid in high school, do you think there'd be a Microsoft? Of course not. Underwear Goes Inside The Pants by Lazy Boy _______________________________________________ Phpgroupware-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
