r42775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42774‎ | r42775 | r42776 >
Date:18:15, 29 October 2008
Author:btongminh
Status:old
Tags:
Comment:
Add IndexPager::getResult so that other code (API) can access the result.
Modified paths:
  • /trunk/phase3/includes/Pager.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Pager.php
@@ -154,6 +154,13 @@
155155
156156 wfProfileOut( $fname );
157157 }
 158+
 159+ /**
 160+ * Return the result wrapper.
 161+ */
 162+ function getResult() {
 163+ return $this->mResult;
 164+ }
158165
159166 /**
160167 * Extract some useful data from the result object for use by

Status & tagging log