Re: DB_DataObject getter setter generator

From: Date: Fri, 04 Mar 2005 08:13:41 +0000
Subject: Re: DB_DataObject getter setter generator
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17837@lists.php.net to get a copy of this message
On Thu, 2005-03-03 at 23:07 -0700, Trevan wrote: > I noticed the update on DB_DataObject and upgraded to test the getter > setter function. But it didn't work as I expected. I am just wondering > how is it supposed to work? It's supposed (although I dont remember testing it much) - generate getters and setters for columns that do not already have definitions. (hence it should not destroy existing code..) If it's not doing that can you give an example of what it is doing and what you expect, then file it as a bug. Regards Alan > > What I did to test it was created a new table for the testing. I then > ran maketable on my database. It didn't change any of my existing files > (which is expected), but for the new file, the only change was that it > appended 2 getter functions that were taken from one of my other files. > And the getter functions have nothing to do with this new table. So > is it supposed to just append functions that it finds in pre-existing > files, or is it supposed to generate new getter and setter functions for > the new file? > > Trevan

« previous php.pear.general (#17837) next »