For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2005 > Re: [PEAR] DB_DataObject Can getLink() return child class of DB_DataObject









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] DB_DataObject Can getLink() return child class of DB_DataObject
Justin Patrin

2005-03-31, 8:57 pm

On Thu, 31 Mar 2005 16:00:15 -0800, Ben Ford <ben@naturestears.com> wrote:
> Yes, I was originally trying not to edit the auto-generated classes. (I
> am using PHP 5 objects and the auto-generated are PHP 4 style. I suppose
> I didn't want to mix syntax and it I wanted to use PHP 5. In the end,
> who cares though.)


Regenerate them. The newer versions of DB_DataObject will use PHP5
syntax when you use the generator in PHP5. :-)

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com