Add IndexPager::getResult so that other code (API) can access the result.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 29 Oct 2008 18:15:39 +0000 (18:15 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 29 Oct 2008 18:15:39 +0000 (18:15 +0000)
includes/Pager.php

index 7ad2a81..979c8c4 100644 (file)
@@ -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