dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666ab2c
)
Need setOffset and setLimit as well
author
Bryan Tong Minh
<btongminh@users.mediawiki.org>
Wed, 29 Oct 2008 19:21:21 +0000
(19:21 +0000)
committer
Bryan Tong Minh
<btongminh@users.mediawiki.org>
Wed, 29 Oct 2008 19:21:21 +0000
(19:21 +0000)
includes/Pager.php
patch
|
blob
|
history
diff --git
a/includes/Pager.php
b/includes/Pager.php
index
979c8c4
..
8ec32ff
100644
(file)
--- 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