From f5277b5ff5761cdae090f6d41d79405f1f983335 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 6 Jul 2007 13:10:54 +0000 Subject: [PATCH] added fetchArray() --- lib/Doctrine/Hydrate.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Doctrine/Hydrate.php b/lib/Doctrine/Hydrate.php index 1faa1db72..9616717d1 100644 --- a/lib/Doctrine/Hydrate.php +++ b/lib/Doctrine/Hydrate.php @@ -904,6 +904,9 @@ class Doctrine_Hydrate extends Doctrine_Object implements Serializable return $str; } + public function fetchArray($params = array()) { + return $this->execute($params, Doctrine::HYDRATE_ARRAY); + } /** * parseData * parses the data returned by statement object