Re: Re: DB_DataObject joinAdd
| From: | Justin Patrin | Date: | Thu, 24 Jun 2004 00:27:42 +0000 |
| Subject: | Re: Re: DB_DataObject joinAdd | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13295@lists.php.net to get a copy of this message | ||
On Thu, 24 Jun 2004 08:19:39 +0800, Alan Knowles <alan@akbkhome.com> wrote:
> Daniel Kopp wrote:
> > Alan Knowles wrote:
> > which seems to work even though I am pretty sure it will break in
> > php5 (there is protected mode for object-properties in php5 isn't
> > it?)
>
> DataObjects is a little odd in some respects, all the public (eg. non
> _prefixed vars) are assumed to be available to be used as column names)
> - so all other variables end up with _underscores, even though their
> protection level may be public as well..
>
We're running into this with FormBuilder as well. We're planning on
using fb_varName for FormBuilder options in the DataObject.
--
paperCrane --Justin Patrin--