From 6ef092c661c0ef512051b3e60a4e3605349988cb Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 22 Sep 2006 21:46:03 +0000 Subject: [PATCH] The skeleton for Doctrine_DB_Profiler --- Doctrine/DB/Profiler.php | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Doctrine/DB/Profiler.php diff --git a/Doctrine/DB/Profiler.php b/Doctrine/DB/Profiler.php new file mode 100644 index 000000000..cbb63d0db --- /dev/null +++ b/Doctrine/DB/Profiler.php @@ -0,0 +1,46 @@ +. + */ +/** + * Doctrine_DB_Profiler + * + * @author Konsta Vesterinen + * @license LGPL + * @package Doctrine + */ +class Doctrine_DB_Profiler extends Doctrine_DB_EventListener { + public function onPreQuery(Doctrine_DB $dbh, array $args) { } + public function onQuery(Doctrine_DB $dbh, array $args) { } + + public function onPrePrepare(Doctrine_DB $dbh, array $args) { } + public function onPrepare(Doctrine_DB $dbh, array $args) { } + + public function onPreCommit(Doctrine_DB $dbh) { } + public function onCommit(Doctrine_DB $dbh) { } + + public function onPreRollBack(Doctrine_DB $dbh) { } + public function onRollBack(Doctrine_DB $dbh) { } + + public function onPreBeginTransaction(Doctrine_DB $dbh) { } + public function onBeginTransaction(Doctrine_DB $dbh) { } + + public function onPreExecute(Doctrine_DB_Statement $stmt, array $params) { } + public function onExecute(Doctrine_DB_Statement $stmt, array $params) { } +}