Index: trunk/phase3/includes/Pager.php |
— | — | @@ -161,6 +161,19 @@ |
162 | 162 | function getResult() { |
163 | 163 | return $this->mResult; |
164 | 164 | } |
| 165 | + |
| 166 | + /** |
| 167 | + * Set the offset from an other source than $wgRequest |
| 168 | + */ |
| 169 | + function setOffset( $offset ) { |
| 170 | + $this->mOffset = $offset; |
| 171 | + } |
| 172 | + /** |
| 173 | + * Set the limit from an other source than $wgRequest |
| 174 | + */ |
| 175 | + function setLimit( $limit ) { |
| 176 | + $this->mLimit = $limit; |
| 177 | + } |
165 | 178 | |
166 | 179 | /** |
167 | 180 | * Extract some useful data from the result object for use by |