From 50c9cf3bc6b93cb6f26e8aaf296a4e4c7f7c9e50 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 19 Jun 2007 18:53:46 +0000 Subject: [PATCH] --- lib/Doctrine/Query.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 207983d59..1e6e16473 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -664,6 +664,19 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable public function preQuery() { + } + /** + * postQuery + * + * Empty template method to provide Query subclasses with the possibility + * to hook into the query building procedure, doing any custom / specialized + * post query procedures (for example logging) that are neccessary. + * + * @return void + */ + public function postQuery() + { + } /** * builds the sql query from the given parameters and applies things such as