From: Bryan Tong Minh Date: Wed, 29 Oct 2008 18:15:39 +0000 (+0000) Subject: Add IndexPager::getResult so that other code (API) can access the result. X-Git-Tag: 1.31.0-rc.0~44516 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=666ab2c774bc0a87989cadc69f6100d85b08a3e9;p=lhc%2Fweb%2Fwiklou.git Add IndexPager::getResult so that other code (API) can access the result. --- 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