Re: Re: Datagrid and linking dataobjects
| From: | Andrew Nagy | Date: | Fri, 21 Jan 2005 22:38:41 +0000 |
| Subject: | Re: Re: Datagrid and linking dataobjects | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17096@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On Thu, 20 Jan 2005 09:01:36 -0800, Jamie Alessio <Jamie.Alessio@ucop.edu> wrote: [snip]Because I have been using DB_DO since before the factory method existed and there is no way I am changing in my ways! :)$obj1 = new DataObject_X; $obj2 = new DataObject_Y;[snip] OT: *Why* does everyone use new with DataObjects? Why not use DB_DataObject::factory()?