From ab6a7c9385942f09651ee68fd95d50fee60795b6 Mon Sep 17 00:00:00 2001 From: pookey Date: Mon, 29 Oct 2007 14:30:06 +0000 Subject: [PATCH] adding docs for Query::reset() method --- lib/Doctrine/Query.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 4846c7a15..7eeb51132 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -119,6 +119,10 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable { return new Doctrine_Query($conn); } + + /** + * Resets the query object, so that it can be used again for a fresh query + */ public function reset() { $this->_pendingJoinConditions = array();