From 16fad08f01f7e56d0966167c639ac326844e4093 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 7 Sep 2006 21:25:08 +0000 Subject: [PATCH] --- Doctrine/Hydrate.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Doctrine/Hydrate.php b/Doctrine/Hydrate.php index 8bfbe1178..efd028903 100644 --- a/Doctrine/Hydrate.php +++ b/Doctrine/Hydrate.php @@ -105,6 +105,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { abstract public function getQuery(); /** * limitSubqueryUsed + * + * @return boolean */ public function isLimitSubqueryUsed() { return false; @@ -153,6 +155,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { $this->tableAliases = array(); } /** + * getConnection + * * @return Doctrine_Connection */ public function getConnection() { @@ -251,7 +255,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { $params = array_merge($params, $params); $stmt = $this->connection->execute($query,$params); - + if($this->aggregate) return $stmt->fetchAll(PDO::FETCH_ASSOC); @@ -292,7 +296,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { $coll = $this->getCollection($root); $prev[$root] = $coll; - + if($this->aggregate) $return = Doctrine::FETCH_ARRAY;