Re: DB_DataObject joinAdd
| From: | Alan Knowles | Date: | Thu, 24 Jun 2004 00:19:39 +0000 |
| Subject: | Re: DB_DataObject joinAdd | ||
| References: | 1 2 3 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-13293@lists.php.net to get a copy of this message | ||
Daniel Kopp wrote:
Hi! Thanks! Alan Knowles wrote:It looks like you where trying to use the joinAdd argument to insert into the query..well - yes - is that a crime? :-) Not really :) - but the parameter checking that there is will probably cause problems
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.. Regards Alan
and ... for sure - this is a crime :-) regards Daniel