Re: DB_DataObject erro

From: Date: Tue, 11 Dec 2007 21:23:38 +0000
Subject: Re: DB_DataObject erro
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28310@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, standerby wrote: > <?php > > DB_DataObject::debugLevel( 5 ); > > $options = &PEAR::getStaticProperty('DB_DataObject','options'); > $options = array( > 'database' => 'mssql://test:test@localhost/playw', > 'schema_location' => 'C:/website/dataobjects/DataObjects/schema/', > 'class_location' => 'C:/website/dataobjects/DataObjects/', > 'require_prefix' => 'C:/website/dataobjects/DataObjects/', > 'class_prefix' => 'DataObjects_', > ); I've newer used debugLevel the way you used it. I either set "debugLevel" inside $options to 5 or > > $zipcodes = DB_DataObject::factory('TblZipcodes'); $zipcodes->debugLevel(5); should work too. hope that helps, - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXv/a1nS0RcInK9ARAo20AKDdHEA0Qa3ilLY5rJLlfzt9E522wgCfaexb FPB3i5JBGeie/cMxkxu3BAI= =hGFC -----END PGP SIGNATURE-----

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