Re: DataObject tweak ok with DB and MDB2
| From: | Alan Knowles | Date: | Thu, 07 Apr 2005 12:15:09 +0000 |
| Subject: | Re: DataObject tweak ok with DB and MDB2 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-18628@lists.php.net to get a copy of this message | ||
On Thu, 2005-04-07 at 21:59 +1000, Dan Rossi wrote:
> On 07/04/2005, at 9:32 PM, Alan Knowles wrote:
>
> >
> > $opts = &PEAR::getStaticProperty('MDB2', 'options');
> > $opts = array('portibility'=>0);
> >
> >
>
> This works if i set this as $db_options on the class or script outside
> the do, but then what i am trying to explain the user would have to set
> this up twice one there to reference MDB2 outside the do and again as
> the setting inside the DO :| So my question, was $db_options ever
> working ? :)
Not quite sure what you are meaning - the portability options for DB
always worked like the above example. There was never any options to
enable 'setting inside the DO' ?
Regards
Alan