Code Comments
Programming Forum and web based access to our favorite programming groups.On Tue, 31 Aug 2004 19:10:41 +0200, Thomas Mammitzsch <smartt@gmx.de> wrote: > hi everybody, > > i want to insert data in a table. Now i'm a bitabout the > examples in the manual. > > should i use the factory method of DB_DataObject to create an instance > of my DataObject_table or should i create the instance manually as > described in the manuals ->insert() function? As Michael said, it's a matter of taste, but the preferred method is to always use factory() when creating a DataObject instance. You can then leave out the extra include calls for those objects. ;-) > > regards, Thomas > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.