From: Bryan Tong Minh Date: Wed, 29 Oct 2008 19:21:21 +0000 (+0000) Subject: Need setOffset and setLimit as well X-Git-Tag: 1.31.0-rc.0~44515 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=1489500d1de13956b9ed0dceea74dce9a411968b;p=lhc%2Fweb%2Fwiklou.git Need setOffset and setLimit as well --- 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