From 1489500d1de13956b9ed0dceea74dce9a411968b Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Wed, 29 Oct 2008 19:21:21 +0000 Subject: [PATCH] Need setOffset and setLimit as well --- includes/Pager.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/includes/Pager.php b/includes/Pager.php index 979c8c4862..8ec32ff491 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -161,6 +161,19 @@ abstract class IndexPager implements Pager { function getResult() { return $this->mResult; } + + /** + * Set the offset from an other source than $wgRequest + */ + function setOffset( $offset ) { + $this->mOffset = $offset; + } + /** + * Set the limit from an other source than $wgRequest + */ + function setLimit( $limit ) { + $this->mLimit = $limit; + } /** * Extract some useful data from the result object for use by -- 2.20.1