. */ /** * Doctrine_DB_Profiler * * @author Konsta Vesterinen * @license LGPL * @package Doctrine */ class Doctrine_DB_Profiler extends Doctrine_DB_EventListener { private $queries; public function onPreQuery(Doctrine_DB $dbh, array $args) { $this->queries[] = $args[0]; } 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) { } }