Re: DB_DataObject debugging - confused by production mode (newbie)

From: Date: Thu, 20 Oct 2005 21:25:24 +0000
Subject: Re: DB_DataObject debugging - confused by production mode (newbie)
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21570@lists.php.net to get a copy of this message
On 10/20/05, Justin Patrin <papercrane@gmail.com> wrote: > As for debug, you can set this manually yourself. > DB_DataObject::debugLevel(<some number from 1-5>); Aha... well, that explains it. I read this sentence in the doc for debugLevel: This function can not [sic.] be called statically. and interpreted that to mean that this syntax was wrong. (Of course the example's right there below it on the doc so I feel quite silly.) Backtracking a bit, what does "call statically" mean in PHP terms? I thought in general OO terms a static method call meant calling a class method without an instance of the class. But it seems that this is in fact the way that you SHOULD call debugLevel(), no? Thanks, Philip

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