PHP::Pear::DB

From: Date: Fri, 19 Sep 2003 11:31:11 +0000
Subject: PHP::Pear::DB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7914@lists.php.net to get a copy of this message
Hello, Just a simple question: I would like to log every queries passed to a DB object, since I am using DB::connect() (who return me a DB_Common object) to connect to my MySQL DB. Of course I could create a function who log the query and then query the database... but this is not the OO way ! Does someone have an idea on how to personalize the behavior of a function like DB_Common::query() without modifying original files and in a OO way ? Thanks for all Regards, Patrick Allaert **** DISCLAIMER **** "This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s)named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation."

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