From 0f9613cc659767a404369f0c9be3e8619cd09ad3 Mon Sep 17 00:00:00 2001 From: rMalie Date: Thu, 22 Dec 2011 17:08:13 +0000 Subject: [PATCH] // Add Collection::getResults() method git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11645 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Collection.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/classes/Collection.php b/classes/Collection.php index 899eb0c34..7e64cc34c 100644 --- a/classes/Collection.php +++ b/classes/Collection.php @@ -231,6 +231,16 @@ class CollectionCore implements Iterator, ArrayAccess, Countable return $this; } + /** + * Get results array + * + * @return array + */ + public function getResults() + { + return $this->results; + } + /** * This method is called when a foreach begin *