Re: DB_DataObject, part 2

From: Date: Fri, 22 Sep 2006 10:34:58 +0000
Subject: Re: DB_DataObject, part 2
References: 1 2 3 4 5 6 7 8  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25212@lists.php.net to get a copy of this message
Is this functionality intentional? Shouldn't DataObject be passing the options I define to the driver?
No, DB_DataObject doesn't have that option. What you *should* be doing is setting what DB_DataObject is reading, namely PEAR "static properties" for MDB2. Same basic thing as your DB_DO options: $o =& PEAR::getStaticProperty('MDB2', 'options'); $o = array('portability' => MDB2_PORTABILITY_NONE);
Below is the php script that I include in every other php script that uses my classes. This, too, was culled from the documentation and various examples.
[snip long amount of drivel] Never mind. I'm being totally retarded. It's way too early in the morning for me to have posted a huge long message like that. Now I totally understand what getStaticProperty is doing. Duh. Yes, I am a little slow. :) Thanks again for your time and patience! thnx, Chris

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