From 666ab2c774bc0a87989cadc69f6100d85b08a3e9 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Wed, 29 Oct 2008 18:15:39 +0000 Subject: [PATCH] Add IndexPager::getResult so that other code (API) can access the result. --- includes/Pager.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/Pager.php b/includes/Pager.php index 7ad2a81b8d..979c8c4862 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -154,6 +154,13 @@ abstract class IndexPager implements Pager { wfProfileOut( $fname ); } + + /** + * Return the result wrapper. + */ + function getResult() { + return $this->mResult; + } /** * Extract some useful data from the result object for use by -- 2.20.1